/* Auth Pages Styling */

.auth-wrapper {
    min-height: calc(100vh - 76px); /* Adjust based on navbar height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem 0;
}

.auth-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: row;
}

.auth-sidebar {
    background: linear-gradient(135deg, #0061f2 0%, #00c6f7 100%);
    color: white;
    width: 40%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.auth-sidebar h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.auth-sidebar p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.auth-form-container {
    width: 60%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .auth-card {
        flex-direction: column;
        max-width: 450px;
    }
    
    .auth-sidebar {
        width: 100%;
        padding: 2rem;
        display: none; /* Hide sidebar on mobile to save space */
    }
    
    .auth-form-container {
        width: 100%;
        padding: 2rem;
    }
}

.form-floating > label {
    color: #6c757d;
}

.btn-auth {
    padding: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}

.auth-links a {
    color: #0061f2;
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

.social-login {
    margin-top: 2rem;
    text-align: center;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    color: white;
    background-color: #ddd;
    transition: transform 0.2s;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn.google { background-color: #db4437; }
.social-btn.facebook { background-color: #4267B2; }
.social-btn.twitter { background-color: #1DA1F2; }

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #aeaeae;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.divider:not(:empty)::before {
    margin-right: .5em;
}

.divider:not(:empty)::after {
    margin-left: .5em;
}

/* Password toggle eye button */
.password-wrapper {
    position: relative;
}
.password-wrapper .form-control {
    padding-right: 3rem;
}
.btn-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    z-index: 5;
}
.btn-eye:hover {
    color: #0061f2;
}
