﻿/* Page shell */
.page-shell {
    max-width: 1200px;
    margin: 28px auto;
    padding: 0 16px;
}

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.page-subtitle {
    margin-top: 6px;
    color: #6c757d;
}

.page-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Cards */
.card-soft {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,.04);
    overflow: hidden;
}

.card-soft-head {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    background: linear-gradient(180deg, rgba(13,110,253,.05), rgba(13,110,253,0));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-soft-body {
    padding: 18px;
}

.head-title {
    font-weight: 700;
    font-size: 16px;
}

.head-meta {
    font-size: 12px;
}

/* Chips / badges */
.badge-soft {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(13,110,253,.10);
    color: #0d6efd;
    font-weight: 600;
    font-size: 12px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 999px;
    font-size: 12px;
    color: #495057;
    background: #fff;
}

/* Modern table */
.table-modern thead th {
    background: #f8f9fb;
    color: #495057;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .02em;
    text-transform: uppercase;
    padding: 12px 12px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.table-modern td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.table-modern tbody tr:hover {
    background: rgba(13,110,253,.03);
}

.items-footer {
    padding: 12px 18px;
    border-top: 1px solid rgba(0,0,0,.06);
    background: #fcfcfd;
}

/* Buttons */
.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Small skeleton */
.skeleton-line {
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f1f3f5, #e9ecef, #f1f3f5);
    background-size: 200% 100%;
    animation: sk 1.2s infinite;
}

@keyframes sk {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Optional: Sticky header */
.table-sticky thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Empty state */
.empty-emoji {
    font-size: 32px;
}

/* Chips */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
}

.chip-ok {
    color: #146c43;
    background: rgba(25,135,84,.10);
    border-color: rgba(25,135,84,.20);
}

.chip-warn {
    color: #997404;
    background: rgba(255,193,7,.12);
    border-color: rgba(255,193,7,.25);

