/**
 * SMKOKS Competition System — Global Website Stylesheet
 * Single source of truth for all frontend CSS.
 *
 * Load order: Tabler CSS → Tabler Icons → website.css
 */

@import url('https://rsms.me/inter/inter.css');

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
    --app-font: 'Inter Var', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --app-primary: #0b3b75;
    --app-primary-hover: #072752;
    --app-primary-light: #16529e;
    --app-primary-subtle: #edf4fc;
    --app-text-main: #0f172a;
    --app-text-muted: #334155;
    --app-text-soft: #475569;
    --app-text-light: #64748b;
    --app-border: #e2e8f0;
    --app-bg: #f8fafc;
    --app-white: #ffffff;

    --tblr-font-sans-serif: var(--app-font);
    --tblr-primary: #0b3b75;
    --tblr-primary-rgb: 11, 59, 117;
    --tblr-primary-fg: #ffffff;
    --tblr-primary-dark: #072752;
    --tblr-primary-light: #16529e;
    --tblr-primary-subtle: #edf4fc;
    --tblr-link-color: #0b3b75;
    --tblr-link-hover-color: #072752;
    --tblr-nav-link-icon-color: #334155;
    --tblr-nav-link-hover-icon-color: #0b3b75;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

body {
    font-family: var(--app-font);
    font-feature-settings: "cv03", "cv04", "cv11";
    background-color: var(--app-bg);
    color: var(--app-text-main);
    line-height: 1.5;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

button,
.btn,
.nav-link,
.dropdown-item,
a {
    cursor: pointer;
}

/* ==========================================================================
   3. Shared Tabler overrides
   ========================================================================== */

.card,
.navbar,
.modal-content,
.dropdown-menu,
.btn,
.footer,
.form-control,
.form-select,
.avatar,
.badge,
.alert,
.app-fixed-footer {
    box-shadow: none !important;
}

.btn-primary {
    background-color: var(--app-primary) !important;
    border-color: var(--app-primary) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--app-primary-hover) !important;
    border-color: var(--app-primary-hover) !important;
    color: #ffffff !important;
}

.btn-brand {
    background-color: var(--app-primary) !important;
    border-color: var(--app-primary) !important;
    color: #ffffff !important;
    font-weight: 600;
}

.btn-brand:hover,
.btn-brand:focus,
.btn-brand:active {
    background-color: var(--app-primary-hover) !important;
    border-color: var(--app-primary-hover) !important;
    color: #ffffff !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--app-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(11, 59, 117, 0.25) !important;
}

.page-item.active .page-link {
    background-color: var(--app-primary) !important;
    border-color: var(--app-primary) !important;
    color: #ffffff !important;
}

.hover-underline:hover {
    text-decoration: underline !important;
    color: var(--app-primary-hover) !important;
}

/* ==========================================================================
   4. Admin shell
   ========================================================================== */

body.admin-shell h1,
body.admin-shell h2,
body.admin-shell h3,
body.admin-shell h4,
body.admin-shell h5,
body.admin-shell h6,
body.admin-shell .page-title,
body.admin-shell .page-pretitle {
    color: var(--app-primary) !important;
    font-weight: 700 !important;
}

body.admin-shell .text-muted,
body.admin-shell .text-secondary,
body.admin-shell small.text-muted,
body.admin-shell small.text-secondary {
    color: var(--app-text-muted) !important;
}

body.admin-shell .table th {
    color: var(--app-text-main) !important;
    font-weight: 700 !important;
    background-color: #f1f5f9 !important;
}

body.admin-shell .table td {
    color: #1e293b !important;
}

body.admin-shell .table-bordered,
body.admin-shell .table-bordered th,
body.admin-shell .table-bordered td {
    border: 1px solid #cbd5e1 !important;
}

/* Sidebar Container & Brand Dividing Borders */
body.admin-shell .navbar-vertical {
    background-color: #ffffff !important;
    box-shadow: none !important;
}

@media (min-width: 992px) {
    body.admin-shell .navbar-vertical {
        border-right: 1px solid var(--app-border, #e2e8f0) !important;
        border-bottom: none !important;
        border-left: none !important;
        border-top: none !important;
    }

    /* Crisp dividing line below sidebar logo/brand (matches topbar 3.5rem height & bottom border) */
    body.admin-shell .navbar-vertical .navbar-brand {
        border-bottom: 1px solid var(--app-border, #e2e8f0) !important;
        margin: 0 -1rem 0.5rem -1rem !important;
        padding: 0 1.25rem !important;
        width: calc(100% + 2rem) !important;
        height: 3.5rem !important;
        min-height: 3.5rem !important;
        max-height: 3.5rem !important;
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 991.98px) {
    body.admin-shell .navbar-vertical {
        border-bottom: 1px solid var(--app-border, #e2e8f0) !important;
        border-right: none !important;
        border-left: none !important;
        border-top: none !important;
    }

    body.admin-shell .navbar-vertical .navbar-brand {
        border-bottom: none !important;
        margin: 0 !important;
        padding: 0.5rem 0 !important;
        width: auto !important;
        height: auto !important;
    }
}

/* Active sidebar link */
body.admin-shell .navbar-vertical .navbar-nav .nav-item.active > .nav-link,
body.admin-shell .navbar-vertical .navbar-nav .nav-link.active,
body.admin-shell .navbar-vertical .navbar-nav .nav-item.active > .nav-link:hover,
body.admin-shell .navbar-vertical .navbar-nav .nav-link.active:hover {
    background-color: var(--app-primary) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 6px;
    box-shadow: none !important;
}

body.admin-shell .navbar-vertical .navbar-nav .nav-item.active > .nav-link *,
body.admin-shell .navbar-vertical .navbar-nav .nav-link.active *,
body.admin-shell .navbar-vertical .navbar-nav .nav-item.active > .nav-link:hover *,
body.admin-shell .navbar-vertical .navbar-nav .nav-link.active:hover * {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.admin-shell .navbar-vertical .navbar-nav .nav-item.active > .nav-link .badge {
    background-color: #ffffff !important;
    color: var(--app-primary) !important;
}

/* Non-active sidebar links */
body.admin-shell .navbar-vertical .navbar-nav .nav-link {
    border-radius: 6px;
    margin: 2px 0.5rem;
    padding: 0.55rem 0.75rem;
    color: #1e293b !important;
    font-weight: 600;
    transition: all 0.15s ease;
}

body.admin-shell .navbar-vertical .navbar-nav .nav-link .nav-link-icon,
body.admin-shell .navbar-vertical .navbar-nav .nav-link .nav-link-icon i {
    color: var(--app-text-muted) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

body.admin-shell .navbar-vertical .navbar-nav .nav-item:not(.active) > .nav-link:hover,
body.admin-shell .navbar-vertical .navbar-nav .nav-link:not(.active):hover {
    background-color: #e8f0fe !important;
    color: var(--app-primary) !important;
}

body.admin-shell .navbar-vertical .navbar-nav .nav-item:not(.active) > .nav-link:hover .nav-link-icon,
body.admin-shell .navbar-vertical .navbar-nav .nav-item:not(.active) > .nav-link:hover .nav-link-icon i,
body.admin-shell .navbar-vertical .navbar-nav .nav-link:not(.active):hover .nav-link-icon,
body.admin-shell .navbar-vertical .navbar-nav .nav-link:not(.active):hover .nav-link-icon i {
    color: var(--app-primary) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fixed footer */
body.admin-shell .app-fixed-footer {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1020;
    background-color: #ffffff !important;
    border-top: 1px solid var(--app-border) !important;
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
    min-height: auto !important;
    box-shadow: none !important;
}

body.admin-shell .page-wrapper {
    padding-bottom: 2.75rem !important;
}

@media (min-width: 992px) {
    body.admin-shell .app-fixed-footer {
        left: var(--tblr-sidebar-width, 15rem);
    }
}

/* ==========================================================================
   5. Public site
   ========================================================================== */

body.public-site .public-navbar {
    background: var(--app-white);
    border-bottom: 1px solid var(--app-border);
    padding: 0.75rem 0;
}

body.public-site .public-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--app-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

body.public-site .public-brand:hover {
    color: var(--app-primary-hover);
    text-decoration: none;
}

body.public-site .public-brand img {
    height: 36px;
    width: 36px;
    object-fit: contain;
    margin-right: 0.65rem;
}

body.public-site .public-nav-link {
    color: var(--app-text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--app-border);
    transition: all 0.15s ease;
}

body.public-site .public-nav-link:hover {
    color: var(--app-primary);
    border-color: var(--app-primary);
    background-color: var(--app-primary-subtle);
    text-decoration: none;
}

/* Public page header */
body.public-site .public-page-header {
    background: var(--app-white);
    border-bottom: 1px solid var(--app-border);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

body.public-site .public-page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--app-primary);
    margin: 0 0 0.35rem 0;
}

body.public-site .public-page-subtitle {
    font-size: 0.95rem;
    color: var(--app-text-muted);
    margin: 0;
}

/* Competition list */
body.public-site .competition-item {
    background: var(--app-white);
    border: 1px solid var(--app-border);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1.25rem;
    transition: border-color 0.15s ease;
}

body.public-site .competition-item:hover {
    border-color: #94a3b8;
}

body.public-site .competition-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--app-text-main);
    margin: 0 0 0.35rem 0;
}

body.public-site .competition-meta {
    font-size: 0.875rem;
    color: var(--app-text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 0.75rem;
}

body.public-site .competition-meta-item strong {
    color: var(--app-text-main);
}

body.public-site .competition-rules {
    font-size: 0.875rem;
    color: var(--app-text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

body.public-site .competition-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--app-border);
    margin-bottom: 1rem;
    background-color: #f1f5f9;
}

body.public-site .competition-banner-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 380px;
    overflow: hidden;
    background-color: #f1f5f9;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.public-site .competition-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 768px) {
    body.public-site .competition-item-with-thumb {
        display: flex;
        gap: 1.25rem;
    }

    body.public-site .competition-thumb-col {
        width: 180px;
        flex-shrink: 0;
    }

    body.public-site .competition-thumb {
        width: 180px;
        height: auto;
        aspect-ratio: 16 / 9;
        margin-bottom: 0;
    }

    body.public-site .competition-content-col {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

/* Public forms */
body.public-site .form-label {
    font-weight: 600;
    color: var(--app-text-main);
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
}

body.public-site .form-label.required:after {
    content: " *";
    color: #d63939;
}

body.public-site .form-control,
body.public-site .form-select {
    border-color: var(--app-border);
    color: var(--app-text-main);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.925rem;
}

body.public-site .form-control:focus,
body.public-site .form-select:focus {
    border-color: var(--app-primary);
    box-shadow: 0 0 0 2px rgba(11, 59, 117, 0.2) !important;
    outline: none;
}

body.public-site .form-section-header {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--app-primary);
    border-bottom: 1px solid var(--app-border);
    padding-bottom: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

body.public-site .form-section-header:first-of-type {
    margin-top: 0;
}

/* Public footer */
body.public-site .public-footer {
    background: var(--app-white);
    border-top: 1px solid var(--app-border);
    padding: 1rem 0;
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--app-text-muted);
    text-align: center;
}

/* Print */
@media print {
    body.public-site {
        background: #ffffff !important;
    }

    body.public-site .no-print {
        display: none !important;
    }

    body.public-site .card {
        border: 1px solid #000000 !important;
    }

    body.public-site .public-footer,
    body.public-site .public-navbar {
        display: none !important;
    }
}

/* Public mobile */
@media (max-width: 767.98px) {
    body.public-site .form-control,
    body.public-site .form-select {
        font-size: 16px !important;
        min-height: 44px !important;
        padding: 0.6rem 0.75rem !important;
    }

    body.public-site .btn {
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.public-site .public-navbar {
        padding: 0.5rem 0 !important;
    }

    body.public-site .public-brand {
        font-size: 1.1rem !important;
    }

    body.public-site .public-brand img {
        height: 32px !important;
        width: 32px !important;
    }

    body.public-site .public-nav-link {
        font-size: 0.8rem !important;
        padding: 0.35rem 0.6rem !important;
    }

    body.public-site .public-page-header {
        padding: 1.25rem 0 !important;
        margin-bottom: 1.25rem !important;
    }

    body.public-site .public-page-title {
        font-size: 1.35rem !important;
    }

    body.public-site .public-page-subtitle {
        font-size: 0.875rem !important;
    }

    body.public-site .competition-item {
        padding: 1rem !important;
    }

    body.public-site .competition-item-title {
        font-size: 1.15rem !important;
    }

    body.public-site .competition-meta {
        flex-direction: column !important;
        gap: 0.35rem !important;
        margin-bottom: 0.75rem !important;
    }

    body.public-site .competition-item .btn {
        width: 100% !important;
    }

    body.public-site .card-body {
        padding: 1rem !important;
    }

    body.public-site .card-header {
        padding: 0.75rem 1rem !important;
    }

    body.public-site .card-footer {
        padding: 0.75rem 1rem !important;
    }

    body.public-site .card-footer .btn {
        width: 100% !important;
    }

    body.public-site .form-check {
        padding-left: 1.85rem !important;
    }

    body.public-site .form-check-input {
        width: 1.25rem !important;
        height: 1.25rem !important;
        margin-left: -1.85rem !important;
        margin-top: 0.15rem !important;
    }
}

/* ==========================================================================
   6. Login
   ========================================================================== */

.login-brand-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background-color: var(--app-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   7. SweetAlert2 centered toast
   ========================================================================== */

.app-centered-toast-popup {
    border-radius: 16px !important;
    padding: 1.5rem 1.25rem 1.25rem !important;
    width: min(90vw, 380px) !important;
    max-width: 90vw !important;
    background: #ffffff !important;
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.08) !important;
    border: none !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 auto !important;
    will-change: transform, opacity !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
}

.app-toast-animate-in {
    animation: appToastFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.app-toast-animate-out {
    animation: appToastFadeOut 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.app-backdrop-animate-in {
    animation: appBackdropFadeIn 0.2s ease forwards !important;
}

.app-backdrop-animate-out {
    animation: appBackdropFadeOut 0.18s ease forwards !important;
}

@keyframes appToastFadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, -10px, 0) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes appToastFadeOut {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate3d(0, 8px, 0) scale(0.96);
    }
}

@keyframes appBackdropFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes appBackdropFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.app-centered-toast-popup .swal2-icon {
    font-size: 11.5px !important;
    margin: 0.5rem auto 0.75rem !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
}

.app-centered-toast-popup .swal2-icon.swal2-success {
    border-color: #0ca678 !important;
    color: #0ca678 !important;
}

.app-centered-toast-popup .swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #0ca678 !important;
}

.app-centered-toast-popup .swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(12, 166, 120, 0.35) !important;
}

.app-centered-toast-popup .swal2-icon.swal2-success .swal2-success-circular-line-left,
.app-centered-toast-popup .swal2-icon.swal2-success .swal2-success-circular-line-right,
.app-centered-toast-popup .swal2-icon.swal2-success .swal2-success-fix {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

.app-centered-toast-popup .swal2-icon.swal2-error {
    border-color: #d63939 !important;
    color: #d63939 !important;
}

.app-centered-toast-popup .swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
    background-color: #d63939 !important;
}

.app-centered-toast-popup .swal2-icon.swal2-warning {
    border-color: #f59f00 !important;
    color: #f59f00 !important;
}

.app-centered-toast-popup .swal2-icon.swal2-info {
    border-color: #0b3b75 !important;
    color: #0b3b75 !important;
}

.app-centered-toast-title {
    font-family: var(--tblr-font-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    padding: 0 !important;
    margin: 0 0 0.35rem !important;
    line-height: 1.35 !important;
    text-align: center !important;
}

.app-centered-toast-html {
    font-family: var(--tblr-font-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
    font-size: 0.875rem !important;
    color: #334155 !important;
    margin: 0 0 0.5rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
    word-break: break-word !important;
}

.app-centered-toast-close {
    position: absolute !important;
    top: 0.65rem !important;
    right: 0.65rem !important;
    font-size: 1.25rem !important;
    color: #94a3b8 !important;
    width: 2rem !important;
    height: 2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.app-centered-toast-close:hover {
    color: #0f172a !important;
    background: #f1f5f9 !important;
}

.app-centered-toast-progress {
    height: 3px !important;
    opacity: 0.9 !important;
}

.app-toast-success .swal2-timer-progress-bar {
    background-color: #0ca678 !important;
}

.app-toast-error .swal2-timer-progress-bar {
    background-color: #d63939 !important;
}

.app-toast-warning .swal2-timer-progress-bar {
    background-color: #f59f00 !important;
}

.app-toast-info .swal2-timer-progress-bar {
    background-color: #0b3b75 !important;
}

.app-centered-toast-backdrop {
    background: rgba(15, 23, 42, 0.16) !important;
    transition: background-color 0.2s ease !important;
}

/* ==========================================================================
   8. Inline-style replacement utilities
   ========================================================================== */

.text-brand {
    color: var(--app-primary) !important;
}

.text-slate {
    color: var(--app-text-muted) !important;
}

.text-slate-soft {
    color: var(--app-text-soft) !important;
}

.text-slate-light {
    color: var(--app-text-light) !important;
}

.text-ink {
    color: var(--app-text-main) !important;
}

.text-danger-deep {
    color: #d63939 !important;
}

.fs-11 {
    font-size: 11px !important;
}

.fs-115 {
    font-size: 11.5px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-13 {
    font-size: 13px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-095 {
    font-size: 0.95rem !important;
}

.lh-145 {
    line-height: 1.45 !important;
}

.lh-16 {
    line-height: 1.6 !important;
}

.max-w-250 {
    max-width: 250px;
}

.max-w-520 {
    max-width: 520px;
}

.text-pre-line {
    white-space: pre-line;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.pointer-events-auto {
    pointer-events: auto;
}

.topbar-elevated {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
}

.logo-38 {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.logo-42 {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo-52 {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.logo-64 {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.avatar-72 {
    width: 72px;
    height: 72px;
}

.thumb-56x38 {
    width: 56px;
    height: 38px;
    object-fit: cover;
}

.banner-preview-box {
    min-height: 160px;
    aspect-ratio: 16 / 9;
    max-height: 200px;
}

.banner-current {
    max-height: 160px;
    object-fit: contain;
}

.col-28pct {
    width: 28%;
}

.col-32pct {
    width: 32%;
}

.col-35pct {
    width: 35%;
}

.col-38 {
    width: 38px;
}

.col-280 {
    width: 280px;
}

.chart-box-300 {
    height: 300px;
}

.chart-box-260 {
    height: 260px;
}

.select-140 {
    height: 140px;
}

.offcanvas-280 {
    height: 280px;
}

.progress-6 {
    height: 6px;
}

.progress-10 {
    height: 10px;
}

.progress-bar-25 {
    width: 25%;
}

.progress-bar-68 {
    width: 68%;
}

.progress-bar-89 {
    width: 89%;
}

.progress-bar-95 {
    width: 95%;
}

.toast-stack {
    z-index: 1090;
}

.avatar-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.avatar-initials--blue {
    background-color: #0969da;
}

.avatar-initials--violet {
    background-color: #7c3aed;
}

.avatar-initials--teal {
    background-color: #0d9488;
}

.avatar-initials--rose {
    background-color: #e11d48;
}

.modal-overlay--review {
    background: rgba(15, 23, 42, 0.6);
    z-index: 1050;
}

.modal-overlay--reject {
    background: rgba(15, 23, 42, 0.7);
    z-index: 1060;
}

.modal-overlay--confirm {
    background: rgba(15, 23, 42, 0.5);
    z-index: 1055;
}

.modal-overlay--judge {
    background: rgba(15, 23, 42, 0.5);
}

.btn-compact {
    font-size: 12px;
    padding: 3px 10px;
}

.btn-utility {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    border-radius: 5px;
    font-size: 12.5px;
    font-weight: 500;
}

.footer-note {
    font-size: 12px;
    line-height: 1.4;
    color: var(--app-text-muted);
}

.error-title {
    font-size: 4.5rem;
    line-height: 1;
}

.error-copy {
    max-width: 440px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--app-text-muted);
}

/* Status badges for candidate groups */
.badge-group-a {
    background-color: #6366f1;
    color: #ffffff;
}

.badge-group-b {
    background-color: #0d9488;
    color: #ffffff;
}

.badge-group-c {
    background-color: #ea580c;
    color: #ffffff;
}

.badge-group-d {
    background-color: #db2777;
    color: #ffffff;
}

.badge-group-e {
    background-color: #2563eb;
    color: #ffffff;
}

.badge-group-default {
    background-color: #475569;
    color: #ffffff;
}
