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

/* Auth Pages Styles */
body.auth-page {
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    background: white;
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.08);
}

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

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #0f172a;
    text-decoration: none;
}

.auth-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #0f172a;
}

.auth-header p {
    color: #64748b;
}

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

.auth-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #475569;
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: #4f46e5;
    background: white;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.auth-form .btn-primary {
    width: 100%;
    padding: 16px;
    margin-top: 12px;
    font-size: 1rem;
    font-weight: 700;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.95rem;
    color: #64748b;
}

.auth-footer a {
    color: #4f46e5;
    font-weight: 700;
    text-decoration: none;
}

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

.error-msg {
    background: #fee2e2;
    color: #ef4444;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    display: none;
    text-align: center;
}

/* Auth Buttons */
.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white !important;
    border: none;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(79, 70, 229, 0.4);
    opacity: 0.95;
}

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