:root {
    --so-auth-bg: #f9fafb;
    --so-auth-card-border: #e5e7eb;
    --so-auth-text: #111827;
    --so-auth-muted: #6b7280;
    --so-auth-primary: #335c67;
    --so-auth-primary-hover: #2a4d56;
    --so-auth-error: #dc2626;
}

body.studioops-auth-body {
    background-color: var(--so-auth-bg);
    color: var(--so-auth-text);
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    min-height: 100vh;
}

.studioops-auth-main {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.studioops-auth-card {
    background: #fff;
    border: 1px solid var(--so-auth-card-border) !important;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
    max-width: 420px;
    padding: 0;
    width: 100%;
}

.studioops-auth-card-inner {
    padding: 1.75rem 1.75rem 1.5rem;
}

.studioops-auth-title {
    color: var(--so-auth-text);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 1rem;
}

.studioops-auth-divider {
    background: var(--so-auth-card-border);
    border: 0;
    height: 1px;
    margin: 0 0 1.5rem;
}

.studioops-form-label {
    color: #4b5563;
    font-size: 0.8125rem;
    font-weight: 400;
    margin-bottom: 0.35rem;
}

.studioops-required {
    color: var(--so-auth-error);
}

.studioops-form-control {
    border-color: #d1d5db;
    border-radius: 4px;
    font-size: 0.875rem;
    padding: 0.55rem 0.75rem;
}

.studioops-form-control::placeholder {
    color: #9ca3af;
}

.studioops-form-control:focus {
    border-color: #9ca3af;
    box-shadow: 0 0 0 2px rgba(51, 92, 103, 0.1);
}

.studioops-form-control.is-invalid {
    border-color: var(--so-auth-error);
}

.studioops-field-error {
    color: var(--so-auth-error);
    font-size: 0.75rem;
    margin-top: 0.3rem;
}

.studioops-credentials-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
    color: var(--so-auth-error);
    font-size: 0.8125rem;
    margin-bottom: 1rem;
    padding: 0.55rem 0.7rem;
}

.studioops-btn-primary {
    background-color: var(--so-auth-primary);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.25rem;
    padding: 0.65rem 1rem;
    width: 100%;
}

.studioops-btn-primary:hover,
.studioops-btn-primary:focus {
    background-color: var(--so-auth-primary-hover);
    color: #fff;
}

.studioops-btn-primary:disabled {
    background-color: var(--so-auth-primary);
    opacity: 0.75;
}

.studioops-forgot-text {
    color: var(--so-auth-muted);
    font-size: 0.75rem;
    margin-top: 1rem;
    text-align: center;
}

.studioops-forgot-text a {
    color: var(--so-auth-muted);
    text-decoration: none;
}

.studioops-forgot-text a:hover {
    color: var(--so-auth-primary);
    text-decoration: underline;
}

.studioops-spinner {
    height: 1rem;
    margin-right: 0.5rem;
    width: 1rem;
}
