/* Auth Pages Styles */
:root {
    --auth-bg: #f8f9fa;
    --auth-card-bg: #fff;
    --auth-primary: #e30613;
    --auth-secondary: #333;
    --auth-text: #444;
    --auth-border: #ddd;
    --auth-input-bg: #f5f5f5;
    --auth-success: #28a745;
    --auth-google: #db4437;
    --auth-facebook: #3b5998;
}

body.dark-theme {
    --auth-bg: #1a1a1a;
    --auth-card-bg: #222;
    --auth-text: #eee;
    --auth-border: #444;
    --auth-input-bg: #333;
}

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

.auth-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    background-color: var(--auth-card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--auth-secondary);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--auth-text);
    font-size: 16px;
    line-height: 1.5;
}

.auth-form {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--auth-text);
    font-size: 14px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--auth-border);
    border-radius: 5px;
    font-size: 15px;
    background-color: var(--auth-input-bg);
    color: var(--auth-text);
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
}

.toggle-password:focus {
    outline: none;
}

.password-strength {
    margin-top: 10px;
}

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

.strength-level {
    height: 100%;
    width: 20%;
    background-color: #ff4d4d;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 12px;
    color: #999;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.remember-me label {
    font-size: 14px;
    color: var(--auth-text);
    cursor: pointer;
}

.forgot-password {
    font-size: 14px;
    color: var(--auth-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    text-decoration: underline;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 3px;
}

.checkbox-group label {
    font-size: 14px;
    color: var(--auth-text);
    line-height: 1.4;
}

.checkbox-group label a {
    color: var(--auth-primary);
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.btn-auth {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: var(--auth-primary);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 20px;
}

.btn-auth:hover {
    background-color: #c00511;
}

.social-login {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--auth-border);
}

.social-login p {
    font-size: 14px;
    color: var(--auth-text);
    margin-bottom: 15px;
}

.social-buttons {
    display: flex;
    gap: 10px;
}

.btn-social {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.btn-social i {
    margin-right: 8px;
    font-size: 16px;
}

.btn-social.google {
    background-color: var(--auth-google);
}

.btn-social.facebook {
    background-color: var(--auth-facebook);
}

.btn-social.google:hover {
    background-color: #c13828;
}

.btn-social.facebook:hover {
    background-color: #2d4373;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--auth-text);
}

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

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

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

.success-icon {
    font-size: 60px;
    color: var(--auth-success);
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--auth-secondary);
    margin-bottom: 15px;
}

.success-message p {
    color: var(--auth-text);
    margin-bottom: 20px;
    line-height: 1.5;
}

.success-message .small {
    font-size: 13px;
    color: #777;
    margin-bottom: 25px;
}

.success-message .small a {
    color: var(--auth-primary);
    text-decoration: none;
}

.success-message .small a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .auth-section {
        padding: 40px 0;
    }
    
    .auth-container {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .auth-header h1 {
        font-size: 24px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .btn-auth {
        padding: 12px;
    }
}

@media (max-width: 575px) {
    .auth-container {
        padding: 25px 15px;
        max-width: 95%;
    }
    
    .auth-header h1 {
        font-size: 22px;
    }
    
    .auth-header p {
        font-size: 14px;
    }
    
    .input-with-icon input {
        padding: 10px 15px 10px 40px;
        font-size: 14px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .forgot-password {
        margin-top: 5px;
    }
} 