* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f9fc;
    background-image: linear-gradient(135deg, #f7f9fc 0%, #e9f0f7 100%);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px;
}

a {
    text-decoration: none;
    color: #003a70;
    transition: all 0.3s ease;
}

a:hover {
    color: #3cbfe6;
}

/* Main Content */
main {
    padding: 50px; 
}

/* Login Section */
.login-section .container {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 58, 112, 0.1);
    max-width: 1100px;
}

.login-form-container {
    flex: 1;
    padding: 50px;
    min-width: 300px;
}

.login-form-container h2 {
    color: #003a70;
    margin-bottom: 12px;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.login-form-container p {
    color: #8895a7;
    margin-bottom: 35px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 58, 112, 0.06);
    background-color: #f7f9fc;
}

.form-group input:focus {
    outline: none;
    border-color: #003a70;
    box-shadow: 0 3px 8px rgba(0, 58, 112, 0.1);
    background-color: #fff;
}

.form-group .toggle-password {
    position: absolute;
    right: 18px;
    top: 33%;
    cursor: pointer;
    color: #8895a7;
    transition: color 0.3s ease;
}

.form-group .toggle-password:hover {
    color: #003a70;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.checkbox-group label {
    position: relative;
    cursor: pointer;
    padding-left: 30px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.checkbox-group label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 1px solid #e1e5eb;
    background: #f7f9fc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 58, 112, 0.06);
    transition: all 0.3s ease;
}

.checkbox-group input[type="checkbox"]:checked + label::before {
    background: #003a70;
    border-color: #003a70;
}

.checkbox-group input[type="checkbox"]:checked + label::after {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 0px;
    color: #fff;
    font-size: 14px;
}

.checkbox-group input[type="checkbox"]:focus + label::before {
    box-shadow: 0 0 0 3px rgba(0, 58, 112, 0.1);
}

.button {
    width: 100%;
    background: linear-gradient(to right, #003a70, #2a5585);
    color: #fff;
    border: none;
    padding: 15px 0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 58, 112, 0.2);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button span {
    margin-right: 8px;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.button:hover {
    background: linear-gradient(to right, #2a5585, #003a70);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 58, 112, 0.25);
}

.button:hover::before {
    left: 100%;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.remember-me {
    margin-bottom: 0;
}

.forgot-password {
    font-size: 14px;
    color: #003a70;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #3cbfe6;
    text-decoration: underline;
}

.social-login {
    margin-top: 30px;
    text-align: center;
}

.social-login p {
    font-size: 14px;
    color: #8895a7;
    margin-bottom: 15px;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background-color: #e1e5eb;
}

.social-login p::before {
    left: 0%;
}

.social-login p::after {
    right: 0%;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #e1e5eb;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 120px;
}

.social-button i {
    margin-right: 8px;
    font-size: 16px;
}

.social-button.google {
    color: #ea4335;
}

.social-button.google:hover {
    background-color: rgba(234, 67, 53, 0.05);
    border-color: rgba(234, 67, 53, 0.3);
}

.social-button.apple {
    color: #000000;
}

.social-button.apple:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.3);
}

.register-link {
    text-align: center;
    margin-top: 30px;
    font-size: 15px;
    color: #555;
}

.register-link a {
    font-weight: 600;
    color: #003a70;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.register-link a:hover {
    color: #3cbfe6;
}

.login-info {
    flex: 1;
    background: linear-gradient(145deg, #003a70, #002a50);
    color: #fff;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.login-info::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.login-info::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(230, 162, 60, 0.1);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

.info-item {
    margin-bottom: 45px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(8px);
}

.info-item i {
    font-size: 38px;
    color: #3cbfe6;
    margin-bottom: 18px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.info-item h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.info-item p {
    opacity: 0.85;
    font-size: 15px;
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .login-section .container {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .login-info {
        border-radius: 16px !important;
    }
    .login-section .container {
        flex-direction: column;
        max-width: 95%;
    }
    
    .login-form-container,
    .login-info {
        width: 100%;
    }
    
    .social-login p::before,
    .social-login p::after {
        width: 40px;
    }
    
    .social-login p::before {
        left: 10%;
    }
    
    .social-login p::after {
        right: 10%;
    }
}

@media (max-width: 576px) {
    .logoLogin {
        display: none;
    }
    main {
        padding-top: 100px;
    }
    
    .login-form-container,
    .login-info {
        padding: 35px 25px;
    }
    
    .login-form-container h2 {
        font-size: 28px;
    } 
    
    .button {
        padding: 14px 0;
    }
    
    .login-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .social-buttons {
        gap: 10px;
        align-items: center;
    }
    
    .social-button {
        width: 100%;
        max-width: 200px;
    }
    
    .social-login p::before,
    .social-login p::after {
        width: 20px;
    }
    
    .social-login p::before {
        left: 5%;
    }
    
    .social-login p::after {
        right: 5%;
    }
    .login-info {
        display: none;
    }
}