/* YEE E-Commerce - Authentication Pages Styles */
/* Rhode Skin Inspired Design for Login, Signup, Change Password */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 0;
    margin: 0;
}

.auth-split {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.auth-image {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 600px;
}

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

.auth-content {
    flex: 1;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.auth-form {
    max-width: 400px;
    width: 100%;
}

.auth-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.auth-subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 1rem;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #333;
    background: #fafafa;
}

.form-help {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
}

.auth-button {
    width: 100%;
    padding: 15px 20px;
    background: #333;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.auth-button:hover {
    background: #555;
}

.forgot-password {
    text-align: center;
    margin: 1rem 0;
}

.forgot-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.auth-link {
    text-align: center;
    margin-top: 2rem;
    color: #666;
}

.auth-link a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

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

.auth-link .mx-2 {
    color: #ccc;
    margin: 0 0.5rem;
}

.auth-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.auth-info p {
    margin: 0;
    line-height: 1.5;
}

.message-alert {
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 0;
    font-size: 0.9rem;
}

.message-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.message-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.message-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.message-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.overlay-content h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.overlay-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

/* 2FA Specific Styles */
.totp-section {
    background: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #17a2b8;
    margin: 20px 0;
}

.totp-title {
    color: #0c5460;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.totp-description {
    color: #0c5460;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.totp-input {
    width: 150px !important;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 3px;
    font-weight: 600;
}

/* Security Icon */
.security-icon {
    color: #28a745;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-split {
        flex-direction: column;
    }
    
    .auth-image {
        min-height: 300px;
    }
    
    .auth-content {
        padding: 40px 30px;
    }
    
    .overlay-content h2 {
        font-size: 2rem;
    }
    
    .auth-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .auth-content {
        padding: 30px 20px;
    }
    
    .auth-title {
        font-size: 1.8rem;
    }
    
    .form-input {
        padding: 12px 15px;
    }
    
    .auth-button {
        padding: 12px 15px;
    }
}
