/**
 * Login & Register - Styles
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    background: rgba(30, 35, 50, 0.95);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.logo-icon {
    font-size: 60px;
    margin-bottom: 10px;
}

.logo-text {
    font-size: 28px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tab {
    flex: 1;
    padding: 12px;
    background: rgba(139, 146, 168, 0.1);
    border: none;
    border-radius: 10px;
    color: #8b92a8;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.form-container {
    display: none;
}

.form-container.active {
    display: block;
}

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

label {
    display: block;
    color: #8b92a8;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(139, 146, 168, 0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    color: #e0e0e0;
    font-size: 15px;
    transition: all 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(139, 146, 168, 0.15);
}

input::placeholder {
    color: #6b7280;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
}

.btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.error-message {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid #f87171;
    color: #f87171;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.error-message.show {
    display: block;
}

.success-message {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid #4ade80;
    color: #4ade80;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.success-message.show {
    display: block;
}

.password-strength {
    margin-top: 8px;
    font-size: 12px;
    color: #8b92a8;
}

.password-strength-bar {
    height: 4px;
    background: rgba(139, 146, 168, 0.2);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.password-strength-bar-fill {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
}

.strength-weak {
    width: 33%;
    background: #f87171;
}

.strength-medium {
    width: 66%;
    background: #fbbf24;
}

.strength-strong {
    width: 100%;
    background: #4ade80;
}

.footer {
    text-align: center;
    margin-top: 20px;
    color: #6b7280;
    font-size: 13px;
}

@media (max-width: 480px) {
    .auth-container {
        padding: 30px 20px;
    }

    .logo-icon {
        font-size: 50px;
    }

    .logo-text {
        font-size: 24px;
    }
}