/*
 * Индикаторы необработанных заказов и обращений в панели администратора.
 */
/* Панель управления: реальные сигналы о задачах — только для админа. */
body.admin-design .admin-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
body.admin-design .tv-admin-count {
    min-width: 21px;
    height: 21px;
    padding: 2px 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #c44b55;
    color: white;
    font: 800 11px/1 'Trebuchet MS',Arial,sans-serif;
    letter-spacing: 0;
    box-shadow: 0 3px 9px rgba(165,65,73,.16);
    white-space: nowrap;
}
body.admin-design .tv-admin-count--warning {
    background: #cb8b2b;
    color: #fff;
}
body.admin-design .tv-admin-welcome {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 25px 0 16px;
    padding: 18px 23px;
    border: 1px solid #e5d5ca;
    border-radius: 14px;
    background: #fff8ed;
    color: #695550;
    box-shadow: 0 7px 22px rgba(100,75,63,.05);
}
body.admin-design .tv-admin-welcome-icon {
    font-size: 23px;
    color: #a86865;
    line-height: 1.2;
}
body.admin-design .tv-admin-welcome strong {
    font-size: 16px;
    color: #704f50;
}
body.admin-design .tv-admin-welcome p {
    margin: 3px 0 0;
    font-size: 13px;
    color: #796d65;
}
body.admin-design .tv-admin-attention {
    padding: 22px 25px 25px;
    margin: 17px 0 30px;
    border: 1px solid #e8d8d0;
    border-radius: 18px;
    background: linear-gradient(128deg,#fffaf3,#fff6ee);
    box-shadow: 0 9px 26px rgba(97,68,60,.065);
}
body.admin-design .tv-admin-attention-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 17px;
}
body.admin-design .tv-admin-attention-pulse {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #cf5460;
    box-shadow: 0 0 0 5px #fce3e4;
    flex-shrink: 0;
}
body.admin-design .tv-admin-attention-title .eyebrow {
    color: #ad7170;
}
body.admin-design .tv-admin-attention h2 {
    margin: 3px 0 0;
    font: 700 clamp(21px,2.2vw,29px)/1.28 Georgia,serif;
    color: #6d504d;
}
body.admin-design .tv-admin-attention h2 span {
    display: inline-grid;
    place-items: center;
    min-width: 29px;
    height: 29px;
    margin-left: 7px;
    padding: 2px 7px;
    background: #f2ddd9;
    color: #a74953;
    border-radius: 9px;
    font: 800 14px 'Trebuchet MS',Arial,sans-serif;
    vertical-align: middle;
}
body.admin-design .tv-admin-attention-links {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(210px,1fr));
    gap: 12px;
}
body.admin-design .tv-admin-alert {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e9ddd2;
    color: #62534e!important;
    text-decoration: none;
    transition: border-color .2s,transform .2s,box-shadow .2s;
}
body.admin-design .tv-admin-alert:hover {
    transform: translateY(-2px);
    border-color: #c9aba7;
    box-shadow: 0 9px 22px rgba(86,64,60,.08);
}
body.admin-design .tv-admin-alert-count {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fde9ea;
    color: #b54653;
    font: 800 21px Georgia,serif;
}
body.admin-design .tv-admin-alert--amber .tv-admin-alert-count {
    background: #fff0d9;
    color: #a66a1e;
}
body.admin-design .tv-admin-alert--rose .tv-admin-alert-count {
    background: #f7e5ef;
    color: #9b5775;
}
body.admin-design .tv-admin-alert b {
    display: block;
    font: 700 14px 'Trebuchet MS',Arial,sans-serif;
}
body.admin-design .tv-admin-alert small {
    display: block;
    margin-top: 5px;
    font: 12px/1.4 'Trebuchet MS',Arial,sans-serif;
    color: #8b7971;
}
body.admin-design .tv-admin-alert-arrow {
    margin-left: auto;
    color: #ad8581;
    font-size: 22px;
}
body.admin-design .tv-admin-attention-clear {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 24px 0;
    padding: 13px 18px;
    background: #f0f7ed;
    border: 1px solid #d6e6d2;
    border-radius: 11px;
    color: #3c7757;
    font: 700 13px 'Trebuchet MS',Arial,sans-serif;
}
body.admin-design .tv-admin-stat-action {
    color: inherit;
    text-decoration: none;
    transition: transform .2s,border-color .2s,box-shadow .2s;
    border-color: #e4babc!important;
}
body.admin-design .tv-admin-stat-action strong {
    color: #b44752;
}
body.admin-design .tv-admin-stat-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 24px rgba(120,75,75,.11);
}
body.admin-design .tv-admin-dashboard-messages {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 0;
    margin: 3px 0 15px;
    border-bottom: 1px solid #e9ded1;
    color: #755954;
    text-decoration: none;
    font-weight: 700;
}
body.admin-design .tv-admin-dashboard-arrow {
    margin-left: auto;
}
body.admin-design .tv-admin-list-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 18px 0 21px;
    padding: 13px 17px;
    border: 1px solid #f0ded0;
    border-left: 4px solid #bc6267;
    border-radius: 9px;
    background: #fff9f1;
    color: #725c53;
    font-size: 13px;
}
body.admin-design .tv-admin-list-notice a {
    color: #9c4d54;
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.admin-design .tv-admin-list-notice a b {
    font-size: 15px;
}
body.admin-design .tv-admin-order-row--new {
    background: rgba(250,224,224,.36)!important;
}
body.admin-design .tv-admin-order-row--processing {
    background: rgba(255,234,197,.35)!important;
}
body.admin-design .tv-admin-order-row--completed {
    background: rgba(229,244,230,.28)!important;
}
body.admin-design .tv-admin-order-row--cancelled {
    opacity: .73;
}
body.admin-design .tv-admin-row-action {
    display: block;
    margin-top: 5px;
    color: #b24d55;
    font: 700 11px 'Trebuchet MS',Arial,sans-serif;
}
body.admin-design .tv-admin-order-row--processing .tv-admin-row-action {
    color: #a26f22;
}
body.admin-design .tv-admin-payment {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
}
body.admin-design .tv-admin-payment--paid {
    color: #267248;
    background: #e5f3e8;
}
body.admin-design .tv-admin-payment--unpaid {
    color: #966e39;
    background: #fff1db;
}
body.admin-design .status-new {
    background: #f9dfe0;
    color: #a63c48;
}
body.admin-design .status-processing {
    background: #fff0d6;
    color: #97671c;
}
body.admin-design .status-pending_payment {
    background: #eeeaf8;
    color: #766096;
}
body.admin-design .status-shipped {
    background: #e0f1f7;
    color: #336f86;
}
body.admin-design .status-completed {
    background: #e0f2e5;
    color: #276d45;
}
body.admin-design .status-cancelled {
    background: #ece8e5;
    color: #82756e;
}
body.admin-design .tv-admin-message-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 22px;
}
body.admin-design .tv-admin-message-tabs a {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    padding: 9px 15px;
    border: 1px solid #e3d4c7;
    border-radius: 9px;
    background: #fffcf7;
    color: #79625a;
    text-decoration: none;
    font: 700 13px 'Trebuchet MS',Arial,sans-serif;
}
body.admin-design .tv-admin-message-tabs a.on {
    border-color: #b87979;
    background: #fbebea;
    color: #8e4e54;
}
body.admin-design .tv-admin-message--new {
    border-left: 4px solid #ca5760!important;
    background: #fffafa!important;
    box-shadow: 0 10px 22px rgba(121,70,75,.045)!important;
}
body.admin-design .tv-admin-message--processed {
    border-left: 4px solid #7eaa82!important;
    background: #f9fcf8!important;
}
body.admin-design .tv-admin-message-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    white-space: nowrap;
    font: 800 12px 'Trebuchet MS',Arial,sans-serif;
}
body.admin-design .tv-admin-message-status--new {
    background: #fae0e2;
    color: #aa434d;
}
body.admin-design .tv-admin-message-status--processed {
    background: #e2f2e5;
    color: #357450;
}
/* Адаптация элементов к доступной ширине экрана. */
@media(max-width:720px) {
    body.admin-design .tv-admin-attention {
        padding: 17px 15px;
    }
    body.admin-design .tv-admin-attention-links {
        grid-template-columns: 1fr;
    }
    body.admin-design .tv-admin-welcome {
        padding: 15px;
    }
    body.admin-design .tv-admin-message-status {
        white-space: normal;
    }
}
