* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    display: flex;
    background: #005d6c;
}

.container {
    display: flex;
    width: 100%;
    height: 100vh;
}

.left-section {
    flex: 0.9;
    background: #005d6c;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 35px;
    color: white;
    position: relative;
    overflow: visible;
    gap: 20px;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.2;
    margin-top: 80px;
    margin-left: 40px;
    margin-right: 40px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1rem;
    margin-left: 40px;
    margin-right: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.ilustration {
    position: absolute;
    right: -110px;
    bottom: 0px;
    width: 490px;
    height: 420px;
    z-index: 3;
}

.ilustration img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.right-section {
    flex: 2;
    background: #f8fafc;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
}

.logo-section {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: 0 auto 30px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 8px 16px rgba(15, 123, 125, 0.3);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    max-width: 800px; 
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8fafc;
    box-sizing: border-box;
    text-align: left;
}

.form-input:focus {
    outline: none;
    border-color: #0f7b7d;
    background: white;
    box-shadow: 0 0 0 3px rgba(15, 123, 125, 0.1);
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    margin-right: 12px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: 0.4s;
    border-radius: 28px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #0f7b7d;
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.forgot-password {
    color: #0f7b7d;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.button-group {
    display: flex;
    gap: 0px;
}

.btn-submit {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.btn-submit {
    background: #4da986;
    color: white;
}

.btn-submit:hover {
    background: #1c665c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(72, 187, 120, 0.3);
}

.alternate-login {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #555;
}

.alternate-login a {
    color: #4da986;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.alternate-login a:hover {
    text-decoration: underline;
    color: #1c665c;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Style */
/* Responsive untuk tablet (<= 1024px) */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .left-section {
        flex: none;
        width: 100%;
        height: 40vh;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: 20px;
    }

    .tagline {
        font-size: 1.2rem;
        margin: 20px 20px 10px 20px;
    }

    .subtitle {
        margin: 0 20px 20px 20px;
    }

    .ilustration {
        position: static;
        width: 300px;
        height: auto;
    }

    .right-section {
        flex: none;
        width: 100%;
        padding: 40px 20px;
        align-items: center;
    }

    .login-container {
        padding: 30px;
    }
}

/* Responsive untuk mobile (<= 768px) */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left-section {
        flex: none;
        width: 100%;
        height: auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: #005d6c;
    }

    .tagline {
        font-size: 1.1rem;
        margin: 20px 0 10px 0;
    }

    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .ilustration {
        position: static;
        width: 200px;
        height: auto;
        margin-bottom: 20px;
    }

    .ilustration img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .right-section {
        flex: none;
        width: 100%;
        padding: 30px 15px;
        align-items: center;
    }

    .login-container {
        padding: 25px 20px;
        width: 100%;
        box-shadow: none;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .form-input {
        padding: 12px 15px;
        font-size: 15px;
    }

    .btn-submit {
        padding: 12px 20px;
        font-size: 15px;
    }

    .alternate-login {
        font-size: 13px;
    }
}


