/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 15px 50px;
    background: var(--light-gray);
}

.login-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    display: flex;
    flex-direction: row-reverse;
}

.login-image {
    flex: 1;
    background: var(--gradient-primary);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-image::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.login-image::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.login-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.login-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.login-logo img {
    height: 60px;
    margin-right: 15px;
    background: white;
    padding: 8px;
    border-radius: 8px;
}

.login-logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
}

.login-motto {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.login-description {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.login-forms {
    flex: 1;
    padding: 40px;
}

.form-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.form-tab {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-gray);
    opacity: 0.7;
    transition: var(--transition-normal);
    position: relative;
}

.form-tab.active {
    color: var(--accent-color);
    opacity: 1;
}

.form-tab.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
}

.form-content {
    display: none;
}

.form-content.active {
    display: block;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: 'Prompt', sans-serif;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
    outline: none;
}

.form-actions {
    margin-top: 30px;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: 'Prompt', sans-serif;
}

.btn-login:hover {
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}

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

.login-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: #ddd;
}

.login-divider::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: #ddd;
}

.login-divider span {
    background-color: var(--white);
    padding: 0 15px;
    position: relative;
    z-index: 1;
    color: #888;
}

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

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: var(--white);
    transition: var(--transition-normal);
    cursor: pointer;
    font-weight: 500;
    color: var(--dark-gray);
    text-decoration: none;
}

.social-btn:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.social-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.google-btn {
    color: #ea4335;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-danger {
    background-color: #fff3f3;
    color: #e53935;
    border-left: 4px solid #e53935;
}

.alert-success {
    background-color: #f3fff4;
    color: #43a047;
    border-left: 4px solid #43a047;
}

.form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.95rem;
    color: #777;
}

.form-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password {
    display: block;
    text-align: right;
    margin-top: 10px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
        max-width: 500px;
    }
    
    .login-image {
        padding: 30px;
    }
    
    .login-forms {
        padding: 30px;
    }
    
    .form-tab {
        padding: 10px 15px;
        font-size: 1rem;
    }
}