 :root {
    --primary-color: hsla(185, 53%, 56%, 1);    ;
    --secondary-color: rgb(42, 133, 141);    ;
    --accent-color: #4895ef;
    --text-color: #333333;
    --light-text: #6c757d;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: #f5f8fe;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    box-shadow: var(--card-shadow);
    border-radius: 16px;
    overflow: hidden;
    background: white;
}

.left-panel {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -250px;
    left: -250px;
}

.left-panel::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
}

.left-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.left-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.left-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.brand-logo {
    width: 150px;
    margin-bottom: 30px;
}

.right-panel {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    margin-bottom: 40px;
    text-align: center;
}

.login-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--light-text);
    font-size: 15px;
}

.login-form {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-control {
    height: 55px;
    padding: 12px 20px;
    padding-left: 50px;
    font-size: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--light-bg);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
    background-color: white;
}

.form-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
    font-size: 20px;
}

.password-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.form-check-label {
    font-size: 14px;
    color: var(--light-text);
}

.forgot-link {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.login-btn {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
}

.social-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.social-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--border-color);
}

.social-divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--border-color);
}

.social-divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    z-index: 1;
    color: var(--light-text);
    font-size: 14px;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 20px;
}

.social-btn:hover {
    background: var(--light-bg);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.google-btn { color: #ea4335; }
.facebook-btn { color: #3b5998; }
.apple-btn { color: #000000; }

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--light-text);
}

.register-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

.error-feedback {
    display: block;
    color: #dc3545;
    margin-top: 8px;
    font-size: 13px;
}

.alert-custom {
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    border-left: 4px solid;
}

.alert-info-custom {
    background-color: rgba(72, 149, 239, 0.1);
    border-left-color: var(--accent-color);
    color: var(--accent-color);
}

/* Responsive styles */
@media (max-width: 991px) {
    .left-panel {
        display: none;
    }
    
    .right-panel {
        flex: 1;
        padding: 40px 20px;
    }
}

@media (max-width: 576px) {
    .login-header h2 {
        font-size: 24px;
    }
    
    .form-control {
        height: 50px;
    }
    
    .login-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}