* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(116, 178, 240, 0.19);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

body::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(0, 81, 163, 0.61);
    border-radius: 50%;
    bottom: -80px;
    right: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
}

.login-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    width: 90%;
    min-height: 500px;
}

.welcome-section {
    display: none;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.login-form-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
    animation: slideInUp 0.8s ease-out;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    overflow: hidden;
    width: 100%;
    max-width: 950px;
}

.login-left-section {
    background: linear-gradient(135deg, #094c8f 0%, #093b6d 100%);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    color: white;
}

.login-left-section::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -80px;
    left: 80px;
    z-index: 1;
}

.login-left-section::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(0, 102, 204, 0.15);
    border-radius: 50%;
    top: -50px;
    right: -100px;
    z-index: 1;
}

.logo-welcome {
    position: relative;
    z-index: 2;
}

.logo-welcome img {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.logo-welcome h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.8px;
    color: white;
}

.logo-welcome .welcome-subtitle {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 18px;
    opacity: 0.9;
    color: white;
}

.logo-welcome h3 {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: #fdbb02 !important;
    letter-spacing: -0.5px !important;
}

.logo-welcome p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 0;
    max-width: 380px;
    color: white;
}

.login-right-section {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.login-form-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.login-form-section .form-subtitle {
    font-size: 11px;
    color: #999;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    gap: 6px;
}

.form-group label i {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group input.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.password-field {
    position: relative;
    margin-bottom: 16px;
}

.password-field label {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    gap: 6px;
}

.password-field label i {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.password-field input {
    padding-right: 40px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 18px;
    background: none;
    border: none;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #0066cc;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 12px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #0066cc;
}

.form-check label {
    cursor: pointer;
    color: #666;
    margin-bottom: 0;
    font-weight: 400;
    font-size: 12px;
}

.forgot-password {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #0052a3;
}

.btn-signin {
    width: 100%;
    padding: 10px;
    background: #001a4d;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.btn-signin:hover {
    background: #000d33;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 26, 77, 0.3);
}

.btn-signin:active {
    transform: translateY(0);
}

.btn-signin-other {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.btn-signin-other:hover {
    border-color: #0066cc;
    color: #0066cc;
}

.signup-link {
    text-align: center;
    font-size: 12px;
    color: #666;
}

.signup-link a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 12px;
}

.signup-link a:hover {
    color: #0052a3;
}

@media (max-width: 768px) {
    .login-form-section {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .login-left-section {
        padding: 30px 25px;
    }

    .login-right-section {
        padding: 30px 25px;
    }

    .logo-welcome img {
        width: 150px;
        margin-bottom: 15px;
    }

    .logo-welcome h2 {
        font-size: 32px;
    }

    .logo-welcome p {
        max-width: 100%;
    }

    .login-form-section h3 {
        font-size: 22px;
    }
}
