/* ============================================
   Ön Muhasebe — Giriş / Yetki ekranları
   ============================================ */

.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--background);
    position: relative;
    overflow-x: hidden;
}

.auth-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.auth-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}

.auth-bg-shape-1 {
    width: 520px;
    height: 520px;
    top: -140px;
    right: -120px;
    background: linear-gradient(135deg, rgba(34, 181, 115, 0.14), rgba(34, 181, 115, 0.03));
}

.auth-bg-shape-2 {
    width: 420px;
    height: 420px;
    bottom: -120px;
    left: -100px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.10), rgba(59, 130, 246, 0.02));
}

.auth-bg-shape-3 {
    width: 340px;
    height: 340px;
    top: 45%;
    left: 55%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.10), rgba(245, 158, 11, 0.02));
}

.auth-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

.auth-logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    padding: 12px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.auth-logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #22B573 0%, #16A34A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(34, 181, 115, 0.3);
}

.auth-logo-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.auth-logo-sub {
    font-size: 9.5px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 2px;
}

.auth-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #3B82F6, var(--primary));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.auth-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 26px;
}

.auth-field {
    margin-bottom: 16px;
}

.auth-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.auth-input {
    width: 100%;
    height: 46px;
    padding: 0 18px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
    transition: all 0.2s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(34, 181, 115, 0.12);
}

.auth-input::placeholder {
    color: var(--muted);
}

.auth-input.input-error {
    border-color: var(--danger);
}

.auth-error {
    font-size: 12px;
    color: var(--danger);
    margin-top: 6px;
}

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.auth-alert-error {
    background: #FEE2E2;
    color: #B91C1C;
}

.auth-alert-info {
    background: #DBEAFE;
    color: #1D4ED8;
}

.auth-alert-warning {
    background: #FEF3C7;
    color: #B45309;
}

.auth-alert-success {
    background: #DCFCE7;
    color: #15803D;
}

.auth-submit {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-submit:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(34, 181, 115, 0.3);
}

.auth-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--muted);
    text-align: center;
    line-height: 1.6;
}

.auth-meta code {
    background: var(--background);
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 12px;
    color: var(--text);
}

.auth-demo-box {
    margin-top: 20px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(34, 181, 115, 0.08) 0%, rgba(34, 181, 115, 0.04) 100%);
    border-radius: 12px;
    border: 1px solid rgba(34, 181, 115, 0.2);
    text-align: center;
}

.auth-demo-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.auth-demo-text {
    font-size: 12px;
    color: var(--text);
}

.auth-divider {
    border-top: 1px solid var(--border);
    margin-top: 24px;
    padding-top: 24px;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 26px 22px;
        border-radius: 18px;
    }

    .auth-title {
        font-size: 21px;
    }
}
