.auth-wrap {
    max-width: 420px;
    margin: 60px auto;
}

.auth-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 3px 16px rgba(15, 23, 42, 0.12);
    padding: 24px;
}

.auth-card h1 {
    margin-top: 0;
}

.badge {
    font-size: 12px;
    border-radius: 999px;
    background: #e2e8f0;
    padding: 4px 10px;
}

.badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.badge.completed {
    background: #dcfce7;
    color: #166534;
}

.inline-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.repeat-card {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
    background: #f8fafc;
}

.job-count-card {
    position: relative;
}

.job-count-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #000000;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    padding: 0 10px;
    margin: 0;
    line-height: 1;
}

.global-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.global-overlay.hidden {
    display: none;
}

.global-overlay-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

.global-overlay-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.global-overlay-title.success {
    color: #166534;
}

.global-overlay-title.error {
    color: #b91c1c;
}

.global-overlay-message {
    color: #334155;
    line-height: 1.45;
}

.loading-card {
    text-align: center;
}

.loading-spinner {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 4px solid #cbd5e1;
    border-top-color: #2563eb;
    margin: 0 auto 12px;
    animation: loadingSpin 0.9s linear infinite;
}

@keyframes loadingSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
