/* frontend/css/auth.css */
.auth-page {
    min-height: 250vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 7px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 32px 24px;
    text-align: center;
    color: white;
}

.auth-logo {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
    backdrop-filter: blur(4px);
}

.auth-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 600;
}

.auth-header p {
    font-size: 14px;
    opacity: 0.9;
}

.auth-tabs {
    display: flex;
    background: #f5f5f5;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
}

.auth-tab {
    flex: 1;
    padding: 16px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.auth-tab.active {
    color: #667eea;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #667eea;
}

.auth-body {
    padding: 32px 24px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.input-icon svg {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #999;
}

.input-icon input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s;
}

.input-icon input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-icon input::placeholder {
    color: #bbb;
}

.auth-btn {
    padding: 14px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.auth-btn:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

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

.auth-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.auth-error {
    background: #fee;
    border-left: 3px solid #f44336;
    padding: 12px;
    border-radius: 8px;
    color: #f44336;
    font-size: 13px;
    margin-top: 16px;
}

.auth-footer {
    text-align: center;
    padding: 20px 24px;
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

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

.hidden {
    display: none !important;
}