/* ==========================================
   FOOTBALL CAPTAIN
   SHARED COMPONENTS

   App width: 430px
========================================== */

/* ==========================================
   COMPONENT VARIABLES
========================================== */

:root {
    --app-content-width: 430px;
    --component-radius-sm: 10px;
    --component-radius: 14px;
    --component-radius-lg: 18px;
    --component-radius-xl: 24px;
    --component-shadow-sm: 0 4px 14px rgba(15,23,42,.06);
    --component-shadow: 0 10px 30px rgba(15,23,42,.10);
    --component-shadow-lg: 0 22px 60px rgba(15,23,42,.20);
    --component-transition: .18s ease;
    --danger: #DC2626;
    --danger-dark: #B91C1C;
    --danger-light: #FEF2F2;
    --warning: #D97706;
    --warning-dark: #B45309;
    --warning-light: #FFF7ED;
    --info: #2563EB;
    --info-dark: #1D4ED8;
    --info-light: #EFF6FF;
    --success: #16A34A;
    --success-dark: #15803D;
    --success-light: #F0FDF4;
}

/* ==========================================
   COMMON
========================================== */

[hidden] {
    display: none !important;
}

.is-disabled,
[aria-disabled="true"] {
    cursor: not-allowed !important;
    opacity: .55;
    pointer-events: none;
}

.is-loading {
    cursor: wait;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ==========================================
   CARDS
========================================== */

.card {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border,#E2E8F0);
    border-radius: var(--component-radius-lg);
    background: #fff;
    box-shadow: var(--component-shadow-sm);
}

.card--flat {
    box-shadow: none;
}

.card--interactive {
    cursor: pointer;
    transition: border-color var(--component-transition), box-shadow var(--component-transition), transform var(--component-transition);
}

    .card--interactive:hover {
        border-color: #CBD5E1;
        box-shadow: var(--component-shadow-sm);
        transform: translateY(-1px);
    }

    .card--interactive:active {
        transform: scale(.995);
    }

/* ==========================================
   BUTTONS
========================================== */

button,
.button {
    font-family: inherit;
}

.primary-button,
.secondary-button,
.outline-button,
.danger-button,
.text-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--component-transition), border-color var(--component-transition), color var(--component-transition), opacity var(--component-transition), transform var(--component-transition), box-shadow var(--component-transition);
}

.primary-button {
    width: 100%;
    background: var(--primary,#16A34A);
    color: #fff;
    box-shadow: 0 8px 20px rgba(22,163,74,.18);
}

    .primary-button:hover {
        background: var(--primary-dark,#15803D);
    }

    .primary-button:active {
        transform: scale(.985);
    }

.secondary-button {
    width: 100%;
    background: #F1F5F9;
    color: var(--text,#0F172A);
}

    .secondary-button:hover {
        background: #E2E8F0;
    }

.outline-button {
    border: 1px solid var(--border,#E2E8F0);
    background: #fff;
    color: var(--text,#0F172A);
}

    .outline-button:hover {
        border-color: var(--primary,#16A34A);
        background: #F0FDF4;
        color: var(--primary,#16A34A);
    }

.danger-button {
    width: 100%;
    background: var(--danger);
    color: #fff;
}

    .danger-button:hover {
        background: var(--danger-dark);
    }

.text-button {
    min-height: auto;
    padding: 4px 0;
    border-radius: 0;
    background: transparent;
    color: var(--primary,#16A34A);
}

    .text-button:hover {
        color: var(--primary-dark,#15803D);
    }

    .primary-button:disabled,
    .secondary-button:disabled,
    .outline-button:disabled,
    .danger-button:disabled,
    .text-button:disabled {
        cursor: not-allowed;
        opacity: .56;
        transform: none;
        box-shadow: none;
    }

/* ---------- Icon button ---------- */

.icon-button {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--border,#E2E8F0);
    border-radius: 13px;
    background: #fff;
    color: var(--text-light,#64748B);
    cursor: pointer;
    transition: border-color var(--component-transition), background var(--component-transition), color var(--component-transition), transform var(--component-transition);
}

    .icon-button:hover {
        border-color: #CBD5E1;
        background: #F8FAFC;
        color: var(--text,#0F172A);
    }

    .icon-button:active {
        transform: scale(.95);
    }

    .icon-button svg {
        width: 21px;
        height: 21px;
    }

/* ---------- Loading button ---------- */

.button-label,
.button-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .button-loading::before {
        content: "";
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        border: 2px solid rgba(255,255,255,.35);
        border-top-color: currentColor;
        border-radius: 50%;
        animation: componentSpinner .7s linear infinite;
    }

.secondary-button .button-loading::before,
.outline-button .button-loading::before {
    border-color: rgba(15,23,42,.18);
    border-top-color: currentColor;
}

@keyframes componentSpinner {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   FORM
========================================== */

.form-group,
.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .form-group + .form-group,
    .form-field + .form-field {
        margin-top: 16px;
    }

    .form-group label,
    .form-field label,
    .form-label {
        color: var(--text,#0F172A);
        font-size: 12px;
        font-weight: 600;
        line-height: 1.4;
    }

.form-label__optional {
    margin-left: 4px;
    color: var(--text-light,#64748B);
    font-size: 10px;
    font-weight: 500;
}

.input,
.textarea,
.select,
.form-control {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--border,#E2E8F0);
    border-radius: 14px;
    outline: none;
    background: #fff;
    color: var(--text,#0F172A);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;
    transition: border-color var(--component-transition), box-shadow var(--component-transition), background var(--component-transition);
}

.textarea {
    min-height: 108px;
    padding-top: 12px;
    padding-bottom: 12px;
    resize: vertical;
}

.select {
    appearance: none;
    padding-right: 42px;
    background-image: linear-gradient( 45deg, transparent 50%, #94A3B8 50% ), linear-gradient( 135deg, #94A3B8 50%, transparent 50% );
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 5px 5px;
    background-repeat: no-repeat;
}

.input::placeholder,
.textarea::placeholder {
    color: #94A3B8;
}

.input:hover,
.textarea:hover,
.select:hover,
.form-control:hover {
    border-color: #CBD5E1;
}

.input:focus,
.textarea:focus,
.select:focus,
.form-control:focus {
    border-color: var(--primary,#16A34A);
    box-shadow: 0 0 0 3px rgba(22,163,74,.09);
}

.input:disabled,
.textarea:disabled,
.select:disabled,
.form-control:disabled {
    cursor: not-allowed;
    background: #F8FAFC;
    color: #94A3B8;
}

/* ---------- Invalid ---------- */

.input.invalid,
.textarea.invalid,
.select.invalid,
.form-control.invalid,
.input[aria-invalid="true"],
.textarea[aria-invalid="true"],
.select[aria-invalid="true"],
.form-control[aria-invalid="true"] {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(220,38,38,.07);
}

.field-error {
    display: block;
    margin: 0;
    color: var(--danger);
    font-size: 11px;
    line-height: 1.45;
}

.field-help {
    display: block;
    margin: 0;
    color: var(--text-light,#64748B);
    font-size: 11px;
    line-height: 1.45;
}

/* ---------- Input wrapper ---------- */

.input-wrapper,
.password-input {
    position: relative;
    width: 100%;
}

    .input-wrapper .input,
    .password-input .input {
        padding-right: 64px;
    }

.input-suffix,
.input-prefix {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light,#64748B);
    font-size: 12px;
    transform: translateY(-50%);
}

.input-prefix {
    left: 14px;
}

.input-suffix {
    right: 14px;
}

.input-wrapper.has-prefix .input {
    padding-left: 42px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 8px;
    min-width: 48px;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--primary,#16A34A);
    font-size: 11px;
    font-weight: 700;
    transform: translateY(-50%);
    cursor: pointer;
}

    .toggle-password:hover {
        background: #F0FDF4;
    }

/* ---------- Checkbox ---------- */

.checkbox-row {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-light,#64748B);
    font-size: 11px;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}

    .checkbox-row input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }

.checkbox-box {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    background: #fff;
    transition: border-color var(--component-transition), background var(--component-transition), box-shadow var(--component-transition);
}

.checkbox-row input:checked + .checkbox-box {
    border-color: var(--primary,#16A34A);
    background: var(--primary,#16A34A);
}

    .checkbox-row input:checked + .checkbox-box::after {
        content: "";
        width: 8px;
        height: 4px;
        border-left: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: translateY(-1px) rotate(-45deg);
    }

.checkbox-row input:focus-visible + .checkbox-box {
    box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}

/* ==========================================
   FORM ALERT
========================================== */

.form-alert,
.alert,
.notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 12px 13px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 11px;
    line-height: 1.5;
}

    .form-alert.error,
    .alert--error {
        border-color: #FECACA;
        background: var(--danger-light);
        color: var(--danger-dark);
    }

    .form-alert.success,
    .alert--success {
        border-color: #BBF7D0;
        background: var(--success-light);
        color: var(--success-dark);
    }

    .form-alert.warning,
    .alert--warning {
        border-color: #FED7AA;
        background: var(--warning-light);
        color: var(--warning-dark);
    }

    .form-alert.info,
    .alert--info {
        border-color: #BFDBFE;
        background: var(--info-light);
        color: var(--info-dark);
    }

/* ==========================================
   BADGE
========================================== */

.badge {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border-radius: 999px;
    background: #F1F5F9;
    color: #64748B;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.badge--success {
    background: #DCFCE7;
    color: #15803D;
}

.badge--danger {
    background: #FEE2E2;
    color: #B91C1C;
}

.badge--warning {
    background: #FEF3C7;
    color: #B45309;
}

.badge--info {
    background: #DBEAFE;
    color: #1D4ED8;
}

/* ==========================================
   AVATAR
========================================== */

.avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: #DCFCE7;
    color: #15803D;
    font-size: 12px;
    font-weight: 700;
}

    .avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.avatar--sm {
    width: 34px;
    height: 34px;
    font-size: 10px;
}

.avatar--lg {
    width: 58px;
    height: 58px;
    font-size: 15px;
}

.avatar--square {
    border-radius: 15px;
}

/* ==========================================
   EMPTY STATE
========================================== */

.empty-state {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px;
    border: 1px dashed var(--border,#E2E8F0);
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.empty-state__icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 17px;
    background: #F1F5F9;
    color: #64748B;
}

    .empty-state__icon svg {
        width: 26px;
        height: 26px;
    }

.empty-state h3 {
    margin: 0;
    color: var(--text,#0F172A);
    font-size: 14px;
    font-weight: 700;
}

.empty-state p {
    max-width: 280px;
    margin: 7px 0 0;
    color: var(--text-light,#64748B);
    font-size: 11px;
    line-height: 1.55;
}

.empty-state__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

/* ==========================================
   APP TOAST
========================================== */

.app-toast-container {
    position: fixed;
    left: 50%;
    bottom: calc( var(--app-bottom-nav-height,76px) + 18px + env(safe-area-inset-bottom) );
    width: calc(100% - 28px);
    max-width: 402px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(-50%);
    z-index: 1600;
    pointer-events: none;
}

.app-toast {
    width: 100%;
    display: grid;
    grid-template-columns: 34px minmax(0,1fr) 30px;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 15px;
    background: #0F172A;
    color: #fff;
    box-shadow: 0 14px 34px rgba(15,23,42,.24);
    opacity: 0;
    pointer-events: auto;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease;
}

    .app-toast.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .app-toast.is-hiding {
        opacity: 0;
        transform: translateY(8px);
    }

.app-toast__icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(255,255,255,.14);
    font-size: 13px;
    font-weight: 700;
}

.app-toast__content {
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.app-toast__close {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: rgba(255,255,255,.75);
    font-size: 19px;
    cursor: pointer;
}

    .app-toast__close:hover {
        background: rgba(255,255,255,.10);
        color: #fff;
    }

.app-toast--success {
    background: #166534;
}

.app-toast--error {
    background: #991B1B;
}

.app-toast--warning {
    background: #9A3412;
}

.app-toast--info {
    background: #1E3A8A;
}

/* ==========================================
   APP SHEET
========================================== */

.sheet-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(15,23,42,.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
    z-index: 1100;
}

    .sheet-overlay.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .sheet-overlay.is-hiding {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.bottom-sheet {
    position: fixed;
    left: 50%;
    bottom: 0;
    width: 100%;
    max-width: 430px;
    max-height: min(88vh,760px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 16px calc( 24px + env(safe-area-inset-bottom) );
    border-radius: 26px 26px 0 0;
    background: #fff;
    box-shadow: 0 -18px 50px rgba(15,23,42,.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%,100%);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
    z-index: 1200;
}

    .bottom-sheet.is-opening {
        opacity: 0;
        visibility: visible;
        pointer-events: none;
        transform: translate(-50%,100%);
    }

    .bottom-sheet.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%,0);
    }

    .bottom-sheet.is-closing {
        opacity: 0;
        visibility: visible;
        pointer-events: none;
        transform: translate(-50%,100%);
    }

.sheet-handle {
    width: 42px;
    height: 5px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: #CBD5E1;
}

.sheet-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

    .sheet-header > div {
        min-width: 0;
    }

    .sheet-header h2 {
        margin: 0;
        color: var(--text,#0F172A);
        font-size: 19px;
        font-weight: 700;
        line-height: 1.35;
    }

    .sheet-header p {
        margin: 5px 0 0;
        color: var(--text-light,#64748B);
        font-size: 11px;
        line-height: 1.5;
    }

.sheet-close {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border,#E2E8F0);
    border-radius: 12px;
    background: #F8FAFC;
    color: #64748B;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--component-transition), color var(--component-transition), transform var(--component-transition);
}

    .sheet-close:hover {
        background: #F1F5F9;
        color: #0F172A;
    }

    .sheet-close:active {
        transform: scale(.95);
    }

/* ==========================================
   APP DIALOG
========================================== */

body.has-dialog {
    overflow: hidden;
}

.app-dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 1400;
}

    .app-dialog-overlay.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .app-dialog-overlay.is-hiding {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.app-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 32px);
    max-width: 398px;
    padding: 21px;
    border: 1px solid var(--border,#E2E8F0);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--component-shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%,-46%) scale(.97);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    z-index: 1450;
}

    .app-dialog.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%,-50%) scale(1);
    }

    .app-dialog.is-closing {
        opacity: 0;
        visibility: visible;
        pointer-events: none;
        transform: translate(-50%,-46%) scale(.97);
    }

.app-dialog__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 16px;
    background: #FEF3C7;
    color: #B45309;
    font-size: 20px;
    font-weight: 700;
}

.app-dialog--danger .app-dialog__icon {
    background: #FEE2E2;
    color: #B91C1C;
}

.app-dialog--success .app-dialog__icon {
    background: #DCFCE7;
    color: #15803D;
}

.app-dialog--info .app-dialog__icon {
    background: #DBEAFE;
    color: #1D4ED8;
}

.app-dialog__content h2 {
    margin: 0;
    color: var(--text,#0F172A);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.app-dialog__content p {
    margin: 8px 0 0;
    color: var(--text-light,#64748B);
    font-size: 12px;
    line-height: 1.6;
}

.app-dialog__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

.app-dialog__button {
    min-height: 46px;
    padding: 0 14px;
    border: 0;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.app-dialog__button--cancel {
    border: 1px solid var(--border,#E2E8F0);
    background: #fff;
    color: var(--text-light,#64748B);
}

.app-dialog__button--confirm {
    background: var(--primary,#16A34A);
    color: #fff;
}

.app-dialog--danger .app-dialog__button--confirm {
    background: var(--danger);
}

.app-dialog--warning .app-dialog__button--confirm {
    background: var(--warning);
}

.app-dialog--info .app-dialog__button--confirm {
    background: var(--info);
}

.app-dialog__button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

/* ==========================================
   APP DROPDOWN
========================================== */

.app-dropdown {
    position: absolute;
    width: max-content;
    min-width: 190px;
    max-width: calc(100vw - 28px);
    padding: 7px;
    border: 1px solid var(--border,#E2E8F0);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(15,23,42,.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-5px) scale(.985);
    transform-origin: top right;
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
    z-index: 1350;
}

    .app-dropdown.is-opening {
        opacity: 0;
        visibility: visible;
        pointer-events: none;
    }

    .app-dropdown.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .app-dropdown.is-closing {
        opacity: 0;
        visibility: visible;
        pointer-events: none;
        transform: translateY(-4px) scale(.985);
    }

.app-dropdown__header {
    padding: 10px 11px 8px;
}

    .app-dropdown__header strong {
        display: block;
        overflow: hidden;
        color: var(--text,#0F172A);
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .app-dropdown__header span {
        display: block;
        margin-top: 3px;
        overflow: hidden;
        color: var(--text-light,#64748B);
        font-size: 10px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.app-dropdown__divider {
    height: 1px;
    margin: 6px 0;
    background: #EEF2F7;
}

.app-dropdown__item {
    width: 100%;
    min-height: 42px;
    display: grid;
    grid-template-columns: 30px minmax(0,1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: var(--text,#0F172A);
    text-align: left;
    text-decoration: none;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: background .14s ease, color .14s ease;
}

    .app-dropdown__item:hover,
    .app-dropdown__item:focus-visible {
        outline: none;
        background: #F8FAFC;
    }

    .app-dropdown__item.is-active {
        background: #F0FDF4;
        color: var(--primary,#16A34A);
    }

    .app-dropdown__item.is-danger {
        color: var(--danger);
    }

        .app-dropdown__item.is-danger:hover,
        .app-dropdown__item.is-danger:focus-visible {
            background: #FEF2F2;
        }

.app-dropdown__icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #F1F5F9;
    color: #64748B;
    font-size: 9px;
    font-weight: 700;
}

.app-dropdown__item.is-active .app-dropdown__icon {
    background: #DCFCE7;
    color: #15803D;
}

.app-dropdown__item.is-danger .app-dropdown__icon {
    background: #FEE2E2;
    color: #B91C1C;
}

.app-dropdown__label {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.app-dropdown__meta {
    color: #94A3B8;
    font-size: 9px;
}

.app-dropdown__check {
    color: var(--primary,#16A34A);
    font-size: 12px;
    font-weight: 700;
}

/* ==========================================
   SKELETON
========================================== */

.skeleton {
    position: relative;
    overflow: hidden;
    border-radius: 9px;
    background: #E2E8F0;
}

    .skeleton::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.55), transparent );
        transform: translateX(-100%);
        animation: skeletonLoading 1.35s infinite;
    }

.skeleton--text {
    width: 100%;
    height: 12px;
}

.skeleton--title {
    width: 62%;
    height: 18px;
}

.skeleton--avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

@keyframes skeletonLoading {
    to {
        transform: translateX(100%);
    }
}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:360px) {

    .app-dialog__actions {
        grid-template-columns: 1fr;
    }

    .app-dialog__button--confirm {
        grid-row: 1;
    }

    .empty-state__actions {
        width: 100%;
        flex-direction: column;
    }

        .empty-state__actions .primary-button,
        .empty-state__actions .outline-button {
            width: 100%;
        }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }

    .app-toast,
    .sheet-overlay,
    .bottom-sheet,
    .app-dialog-overlay,
    .app-dialog,
    .app-dropdown,
    .primary-button,
    .secondary-button,
    .outline-button,
    .danger-button,
    .icon-button,
    .card--interactive {
        transition: none;
    }

    .button-loading::before,
    .skeleton::after {
        animation: none;
    }
}
