/* Authentication Pages Styles */

.auth-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.auth-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Auth Image Side */
.auth-image-container {
    position: relative;
    height: 100%;
    min-height: 100%;
}

.auth-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(22, 163, 74, 0.7), rgba(22, 163, 74, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.auth-content {
    color: white;
    text-align: center;
}

.auth-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.auth-content p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Auth Form Side */
.auth-form-container {
    padding: 40px;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.auth-subtitle {
    color: #666;
    margin-bottom: 25px;
}

.auth-form .form-label {
    font-weight: 500;
    color: #555;
}

.auth-form .form-control {
    padding: 10px 15px;
    border-color: #ddd;
    border-radius: 5px;
}

.auth-form .form-control:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 0.25rem rgba(22, 163, 74, 0.25);
}

.auth-form .btn-primary {
    background-color: #16a34a;
    border-color: #16a34a;
    font-weight: 600;
    border-radius: 5px;
}

.auth-form .btn-primary:hover {
    background-color: #15803d;
    border-color: #15803d;
}

.auth-form a {
    color: #16a34a;
}

.auth-form a:hover {
    color: #15803d;
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 5px;
    background-color: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.strength-progress {
    height: 100%;
    background-color: #ff4d4d;
    transition: width 0.3s, background-color 0.3s;
}

.strength-text {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #666;
}

/* Social Auth */
.social-auth {
    margin-top: 30px;
}

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

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #eee;
}

.divider span {
    position: relative;
    background-color: #fff;
    padding: 0 15px;
    color: #999;
    font-size: 0.9rem;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-btn:hover {
    background-color: #f5f5f5;
    transform: translateY(-3px);
}

/* Toggle Password Button */
.toggle-password {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Forgot Password Specific Styles */
.password-reset-step {
    display: none;
}

.password-reset-step.active {
    display: block;
}

.verification-code-container {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 10px;
}

.verification-input {
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.verification-input:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 0.25rem rgba(22, 163, 74, 0.25);
}

.verification-timer {
    color: #666;
    font-size: 0.9rem;
}

.success-message {
    padding: 20px 0;
}

.success-icon {
    font-size: 5rem;
    color: #16a34a;
    margin-bottom: 20px;
}

.btn-link {
    color: #16a34a;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.btn-link:hover {
    color: #15803d;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .auth-form-container {
        padding: 30px 20px;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .verification-input {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .auth-form-container {
        padding: 30px;
    }
}