/* Authentication Pages - Login & Register Styles */

body.auth-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.auth-container {
    max-width: 450px;
    width: 100%;
    padding: 20px;
}

.auth-container.register {
    max-width: 550px;
}

.auth-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo-section img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.logo-section h2 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.logo-section p {
    color: #7f8c8d;
    font-size: 14px;
}

.form-control:focus {
    border-color: #d4a853;
    box-shadow: 0 0 0 0.2rem rgba(212, 168, 83, 0.25);
}

.btn-auth {
    background: linear-gradient(135deg, #d4a853 0%, #c99a3f 100%);
    border: none;
    color: white;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 168, 83, 0.3);
    color: white;
}

.btn-auth:active {
    transform: translateY(0);
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: #7f8c8d;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
    font-size: 14px;
}

.auth-link a {
    color: #d4a853;
    font-weight: 600;
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

.back-home {
    text-align: center;
    margin-top: 20px;
}

.back-home a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}

.back-home a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.form-check-input:checked {
    background-color: #d4a853;
    border-color: #d4a853;
}

.form-check-input:focus {
    border-color: #d4a853;
    box-shadow: 0 0 0 0.2rem rgba(212, 168, 83, 0.25);
}

/* Responsive */
@media (max-width: 576px) {
    .auth-card {
        padding: 30px 20px;
    }
    
    .logo-section img {
        width: 60px;
        height: 60px;
    }
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 5px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-bar-fill {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 3px;
}

.strength-text {
    display: block;
    font-size: 12px;
    margin-top: 3px;
}

/* Password Toggle */
.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    padding: 5px 8px;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #2c3e50;
}

.toggle-password:focus {
    outline: none;
}

.password-input-wrapper input {
    padding-right: 45px;
}
