.auth-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
}

.tab {
    flex: 1;
    padding: 1rem;
    border: none;
    background: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    color: #2196F3;
    border-bottom: 2px solid #2196F3;
}

.auth-panel {
    display: none;
}

.auth-panel.active {
    display: block;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #333;
}

.form-group input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #2196F3;
    outline: none;
}

.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 1.2rem;
}

.remember-me {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.forgot-password {
    color: #2196F3;
    text-decoration: none;
}

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

.btn {
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #2196F3;
    color: white;
}

.btn-primary:hover {
    background-color: #1976D2;
}

.social-login {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-social {
    flex: 1;
    background-color: #f5f5f5;
    color: #333;
}

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

.password-strength {
    margin-top: 0.5rem;
}

.strength-meter {
    height: 4px;
    background-color: #eee;
    border-radius: 2px;
    overflow: hidden;
}

.strength-meter::before {
    content: '';
    display: block;
    height: 100%;
    width: 0;
    background-color: #ff4444;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-meter.weak::before {
    width: 33.33%;
    background-color: #ff4444;
}

.strength-meter.medium::before {
    width: 66.66%;
    background-color: #ffbb33;
}

.strength-meter.strong::before {
    width: 100%;
    background-color: #00C851;
}

.strength-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Responsive Design */
@media (max-width: 600px) {
    .auth-container {
        margin: 1rem;
        padding: 1rem;
    }

    .social-buttons {
        flex-direction: column;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        color: #fff;
    }

    .form-group input {
        border: 2px solid #000;
    }
} 