.validation-summary-box {
    border-radius: var(--core-radius);
    background: #fff5f5;
}

.validation-summary-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
    flex-shrink: 0;
}

.empty-state-card {
    background: linear-gradient(180deg, #ffffff 0%, var(--core-bg-soft) 100%);
    border-color: var(--core-border) !important;
}

.empty-state-icon {
    width: 4rem;
    height: 4rem;
    margin-inline: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(22, 217, 232, 0.12);
    color: var(--core-primary);
    font-size: 1.5rem;
}

.empty-state-text {
    max-width: 44rem;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    width: 100%;
    background: linear-gradient(135deg, #eef2f7 0%, #f8fafc 100%);
    border: 1px dashed #cbd5e1;
    color: #64748b;
    text-align: center;
    border-radius: 1rem;
    padding: 1.5rem;
}

.image-placeholder-inner {
    max-width: 16rem;
}

.image-placeholder-icon {
    font-size: 2rem;
    color: #94a3b8;
}

.form-card,
.admin-form-card {
    border-radius: var(--core-radius-lg);
    border: 1px solid var(--core-border);
    background: #ffffff;
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.05);
}

.form-label {
    font-weight: 600;
    color: var(--core-heading);
}

.form-control,
.form-select,
textarea.form-control {
    border-radius: 0.9rem;
    border-color: #dbe3ea;
    min-height: 2.85rem;
}

textarea.form-control {
    min-height: 7rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(8, 174, 202, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(8, 174, 202, 0.14);
}

.input-validation-error,
.form-control.input-validation-error,
.form-select.input-validation-error {
    border-color: #dc3545;
    box-shadow: none;
}

.field-validation-error,
.text-danger.small {
    display: inline-block;
    margin-top: 0.35rem;
}

.ui-alert-stack .alert,
.ui-toast {
    border-radius: var(--core-radius);
}

.ui-toast-success .toast-header {
    background: rgba(22, 217, 232, 0.1);
}

.ui-toast-danger .toast-header {
    background: rgba(220, 53, 69, 0.08);
}

.ui-toast-warning .toast-header {
    background: rgba(255, 193, 7, 0.12);
}

.ui-toast-info .toast-header {
    background: rgba(13, 202, 240, 0.12);
}

/* ── Error / Status Pages ── */

.status-page-shell {
    position: relative;
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 18% 28%, rgba(22, 217, 232, 0.16), transparent 40%),
        radial-gradient(circle at 82% 70%, rgba(7, 87, 184, 0.22), transparent 40%),
        linear-gradient(135deg, #020617 0%, #052b72 55%, #0369a1 100%);
    color: #fff;
    overflow: hidden;
    padding: 3rem 0;
}

.status-page-shell::before,
.status-page-shell::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.06;
}

.status-page-shell::before {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #16d9e8, transparent 70%);
    top: -120px;
    right: -80px;
}

.status-page-shell::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #0757b8, transparent 70%);
    bottom: -80px;
    left: -60px;
}

.status-page-card {
    position: relative;
    z-index: 1;
    border-radius: var(--core-radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.status-page-code {
    font-size: clamp(5rem, 12vw, 9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(154, 240, 242, 0.72) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 24px rgba(6, 182, 212, 0.22));
}

.status-page-icon {
    width: 5.5rem;
    height: 5.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(22, 217, 232, 0.16);
    border: 1px solid rgba(154, 240, 242, 0.24);
    color: #9af0f2;
    font-size: 2.25rem;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.16);
    animation: statusIconPulse 3s ease-in-out infinite;
}

@keyframes statusIconPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(6, 182, 212, 0.16); }
    50%      { box-shadow: 0 0 60px rgba(7, 87, 184, 0.24); }
}

.status-page-title {
    color: #fff;
    font-weight: 700;
}

.status-page-message {
    color: rgba(255, 255, 255, 0.7);
    max-width: 48ch;
    margin-inline: auto;
}

.status-page-divider {
    border-color: rgba(255, 255, 255, 0.1);
    max-width: 200px;
    margin-inline: auto;
}

.status-page-tips {
    text-align: left;
    max-width: 420px;
    margin-inline: auto;
}

.status-page-tips li {
    padding: 0.3rem 0;
    color: rgba(255, 255, 255, 0.55);
}

.status-page-tips li i {
    color: #9af0f2;
}

.status-page-tips a {
    color: #9af0f2;
    text-decoration: none;
}

.status-page-tips a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.status-btn-primary {
    background: linear-gradient(135deg, var(--core-accent) 0%, var(--core-primary) 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.28);
}

.status-btn-primary:hover {
    background: linear-gradient(135deg, #16d9e8 0%, var(--core-primary) 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(6, 182, 212, 0.36);
}

.status-btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.6rem 1.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.status-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.status-page-kicker {
    letter-spacing: 0.15em;
    font-size: 0.78rem;
    color: #9af0f2;
    font-weight: 600;
    text-transform: uppercase;
}
