/* ============================================================
   Aimy Admin — стили панели супер-администратора
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a73e8; --primary-hover: #1557b0;
    --text: #202124; --text-muted: #5f6368;
    --border: #e8eaed; --bg: #f1f3f4; --bg-alt: #f8f9fa;
    --success: #22c55e; --danger: #c5221f; --warning: #f59e0b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg-alt);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.admin-layout { display: flex; min-height: 100vh; }

/* ---------- Sidebar ---------- */
.admin-sidebar {
    width: 240px; flex-shrink: 0; background: #fff;
    border-right: 1px solid var(--border); padding: 0;
    display: flex; flex-direction: column;
    position: sticky; top: 0; min-height: 100vh;
}
.admin-logo {
    display: flex; align-items: center; gap: 10px;
    padding: 0 20px;
    height: 64px; box-sizing: border-box;
    border-bottom: 1px solid var(--border);
}
.admin-logo-mark {
    width: 32px; height: 32px; border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.admin-logo-text { font-size: 15px; font-weight: 600; color: var(--text); }

.admin-nav { display: flex; flex-direction: column; flex: 1; }
.admin-nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px; font-size: 14px; color: var(--text-muted);
    text-decoration: none; transition: background 0.15s, color 0.15s;
    border-left: 3px solid transparent;
}
.admin-nav-item:hover { background: var(--bg-alt); color: var(--text); }
.admin-nav-item.active {
    background: #e8f0fe; color: var(--primary);
    font-weight: 500; border-left-color: var(--primary);
}
.admin-nav-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }

.admin-sidebar-footer {
    padding: 16px 20px 0; border-top: 1px solid var(--border); margin-top: auto;
}
.admin-sidebar-link { font-size: 13px; color: var(--text-muted); text-decoration: none; }
.admin-sidebar-link:hover { color: var(--primary); }

/* ---------- Content ---------- */
.admin-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-header {
    height: 64px; background: #fff; border-bottom: 1px solid var(--border);
    padding: 0 24px; display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 10; box-sizing: border-box;
}
.admin-header-title { font-size: 18px; font-weight: 600; color: var(--text); }
.admin-header-actions { display: flex; align-items: center; gap: 16px; }
.admin-user-email { font-size: 13px; color: var(--text-muted); }

.admin-main { padding: 32px; max-width: 1280px; width: 100%; margin: 0 auto; }
.admin-section { display: none; }
.admin-section.active { display: block; }

/* ---------- Loader / Error ---------- */
.admin-loader {
    padding: 80px 32px; text-align: center;
    color: var(--text-muted); font-size: 14px;
}
.admin-error {
    margin: 32px; padding: 16px 20px; background: #fce8e6;
    color: var(--danger); border-radius: 10px; font-size: 14px;
    border: 1px solid #f5c6cb;
}

/* ---------- Cards ---------- */
.admin-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px; margin-bottom: 24px;
}
.admin-card {
    background: #fff; border-radius: 12px; padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: transform 0.15s, box-shadow 0.15s;
}
.admin-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.admin-card-label {
    font-size: 12px; color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 0.5px; margin-bottom: 8px;
}
.admin-card-value { font-size: 26px; font-weight: 700; color: var(--text); line-height: 1.2; }
.admin-card-value.primary { color: var(--primary); }
.admin-card-value.success { color: var(--success); }
.admin-card-value.warning { color: var(--warning); }
.admin-card-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ---------- Panel ---------- */
.admin-panel {
    background: #fff; border-radius: 12px; padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06); margin-bottom: 20px;
}
.admin-panel-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-bottom: 16px;
}
.admin-panel-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.admin-panel-header .admin-panel-title { margin-bottom: 0; }
.admin-muted { color: var(--text-muted); font-size: 14px; }

/* ---------- Table ---------- */
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th {
    text-align: left; padding: 10px 12px; font-weight: 600;
    color: var(--text-muted); text-transform: uppercase; font-size: 11px;
    letter-spacing: 0.5px; border-bottom: 1px solid var(--border);
}
.admin-table td { padding: 12px; border-bottom: 1px solid var(--border); color: var(--text); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-alt); }

.admin-badge {
    display: inline-block; padding: 3px 10px; border-radius: 12px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px;
}
.admin-badge-free    { background: #f1f3f4; color: #5f6368; }
.admin-badge-premium { background: #e8f0fe; color: #1a73e8; }
.admin-badge-max     { background: #fce8e6; color: #c5221f; }
.admin-badge-active  { background: #e6f4ea; color: #137333; }
.admin-badge-inactive { background: #f1f3f4; color: #80868b; }

/* ---------- Chart ---------- */
.admin-chart {
    display: flex; align-items: flex-end; gap: 4px;
    height: 140px; padding: 8px 0; border-bottom: 1px solid var(--border);
}
.admin-chart-bar {
    flex: 1; background: var(--primary);
    border-radius: 3px 3px 0 0; min-height: 2px;
    transition: background 0.15s; position: relative;
}
.admin-chart-bar:hover { background: var(--primary-hover); }
.admin-chart-bar[data-empty="1"] { background: #e8eaed; }

/* ---------- Buttons / Inputs ---------- */
.admin-btn {
    display: inline-block; padding: 8px 16px; border-radius: 8px;
    font-size: 13px; font-weight: 500; cursor: pointer; border: none;
    transition: background 0.15s; font-family: inherit; text-decoration: none;
}
.admin-btn-primary { background: var(--primary); color: #fff; }
.admin-btn-primary:hover { background: var(--primary-hover); }
.admin-btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.admin-btn-outline:hover { background: var(--bg-alt); }
.admin-input {
    padding: 8px 12px; border: 1px solid var(--border);
    border-radius: 8px; font-size: 13px; font-family: inherit;
    outline: none; width: 240px; transition: border 0.15s;
}
.admin-input:focus { border-color: var(--primary); }

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
    .admin-sidebar { width: 64px; }
    .admin-logo-text,
    .admin-nav-item > span:not(.admin-nav-icon),
    .admin-sidebar-footer { display: none; }
    .admin-nav-item { justify-content: center; padding: 12px 8px; }
    .admin-main { padding: 20px 16px; }
    .admin-header { padding: 0 16px; }
}
@media (max-width: 600px) {
    .admin-header-title { font-size: 15px; }
    .admin-user-email { display: none; }
    .admin-input { width: 100%; }
    .admin-panel-header { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   Modal (детали компании) — Пакет 2.1
   ============================================================ */
.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
}

.admin-modal {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 720px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin: auto;
    animation: adminModalSlide 0.2s ease-out;
}

@keyframes adminModalSlide {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.admin-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.admin-modal-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.admin-modal-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--text-muted);
    line-height: 1;
}

.admin-modal-close:hover {
    background: var(--bg-alt);
    color: var(--text);
}

.admin-modal-body {
    padding: 24px;
}

.admin-modal-section {
    margin-bottom: 24px;
}

.admin-modal-section:last-child {
    margin-bottom: 0;
}

.admin-modal-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.admin-modal-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.admin-modal-stat {
    background: var(--bg-alt);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.admin-modal-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.admin-modal-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.admin-modal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.admin-modal-row:last-child {
    border-bottom: none;
}

.admin-modal-row-label {
    color: var(--text-muted);
}

.admin-modal-row-value {
    color: var(--text);
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

.admin-modal-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}

.admin-table-row-clickable {
    cursor: pointer;
}

.admin-table-row-clickable:hover td {
    background: #e8f0fe !important;
}

.admin-filter {
    display: inline-flex;
    gap: 4px;
    background: var(--bg-alt);
    padding: 4px;
    border-radius: 8px;
}

.admin-filter-btn {
    padding: 6px 14px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
}

.admin-filter-btn:hover {
    color: var(--text);
}

.admin-filter-btn.active {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* ============================================================
   Logs (Пакет 2.4)
   ============================================================ */
.admin-logs-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    align-items: start;
}

.admin-logs-list {
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    max-height: 70vh;
    overflow-y: auto;
}

.admin-logs-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 13px;
}

.admin-logs-list-item:hover {
    background: var(--bg-alt);
}

.admin-logs-list-item.active {
    background: #e8f0fe;
    color: var(--primary);
    font-weight: 500;
}

.admin-logs-list-item-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-logs-list-item-meta {
    font-size: 11px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.admin-logs-list-item.active .admin-logs-list-item-meta {
    color: var(--primary);
}

.admin-logs-viewer {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.admin-logs-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.admin-logs-toolbar .admin-panel-title {
    margin-bottom: 4px;
}

.admin-logs-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-logs-actions .admin-input {
    padding: 6px 10px;
    font-size: 12px;
    min-width: auto;
}

.admin-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    user-select: none;
}

.admin-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.admin-logs-content {
    margin: 0;
    padding: 16px 20px;
    font-family: 'SF Mono', Monaco, Menlo, Consolas, 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.55;
    color: #202124;
    background: #fafafa;
    max-height: 65vh;
    overflow-y: auto;
    white-space: pre;
    word-break: normal;
}

.admin-logs-content .log-line {
    display: block;
    padding: 1px 4px;
    border-radius: 2px;
}

.admin-logs-content .log-error {
    background: #fce8e6;
    color: #b71c1c;
}

.admin-logs-content .log-warn {
    background: #fef3c7;
    color: #92400e;
}

@media (max-width: 900px) {
    .admin-logs-layout {
        grid-template-columns: 1fr;
    }
    .admin-logs-list {
        max-height: 220px;
    }
}

/* Подсветка найденных совпадений в логах */
.admin-logs-content .log-match {
    background: #fef3c7;
    color: #92400e;
    border-radius: 2px;
    padding: 0 1px;
}

/* Счётчик совпадений */
.admin-logs-match-count {
    font-size: 12px;
    color: var(--text-muted);
    padding: 4px 8px;
    background: var(--bg-alt);
    border-radius: 4px;
    white-space: nowrap;
}

.admin-logs-match-count.has-matches {
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
}

/* ============================================================
   Audit (Пакет 2.5)
   ============================================================ */
.admin-audit-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: 10px;
    margin-bottom: 12px;
}

.admin-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-filter-group .field-label {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

.admin-filter-group .admin-input {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    background: #fff;
}

.admin-filter-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-end;
    gap: 8px;
}

.admin-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.admin-pagination-buttons {
    display: flex;
    gap: 8px;
}

/* Details row (раскрывающийся) */
.admin-audit-details-row td {
    padding: 0 !important;
    background: var(--bg-alt) !important;
    border-bottom: 1px solid var(--border);
}

.admin-audit-details {
    margin: 0;
    padding: 12px 20px;
    font-family: 'SF Mono', Monaco, Menlo, Consolas, monospace;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text);
    background: #fafafa;
    white-space: pre-wrap;
    word-break: break-word;
    border-left: 3px solid var(--primary);
}

.admin-audit-expand {
    cursor: pointer;
    user-select: none;
    color: var(--text-muted);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

.admin-audit-expand:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.admin-audit-row-clickable {
    cursor: pointer;
}

.admin-audit-row-clickable:hover td {
    background: #e8f0fe !important;
}

/* ============================================================
   Sidebar badges (B11)
   ============================================================ */
.admin-nav-item {
    position: relative;
}

.admin-nav-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.admin-nav-badge-warn {
    background: var(--danger);
}

.admin-nav-badge-info {
    background: var(--primary);
}

/* Когда сайдбар сжат (на мобильных) — скрываем бейджи */
@media (max-width: 900px) {
    .admin-nav-badge {
        display: none !important;
    }
}

/* ============================================================
   Logs archives (B16)
   ============================================================ */
.admin-logs-list-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.admin-logs-archive-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}

.admin-logs-archive-toggle:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.admin-logs-archives {
    width: 100%;
    display: none;
    padding: 6px 0 4px 22px;
    border-top: 1px dashed var(--border);
    margin-top: 6px;
}

.admin-logs-archives.open {
    display: block;
}

.admin-logs-archive-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    font-size: 12px;
    color: var(--text-muted);
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.admin-logs-archive-item:hover {
    background: var(--bg-alt);
    color: var(--text);
}

.admin-logs-archive-item.active {
    background: #e8f0fe;
    color: var(--primary);
    font-weight: 500;
}

.admin-logs-archive-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-logs-archive-size {
    font-size: 11px;
    flex-shrink: 0;
}

.admin-logs-archive-badge {
    font-size: 9px;
    background: var(--bg-alt);
    color: var(--text-muted);
    padding: 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}


/* ============================================================
   Payments chart (B7)
   ============================================================ */
.admin-payments-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 180px;
    padding: 12px 0 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}

.admin-payments-chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary) 0%, #4a90e2 100%);
    border-radius: 4px 4px 0 0;
    min-height: 3px;
    position: relative;
    cursor: pointer;
    transition: filter 0.15s;
}

.admin-payments-chart-bar:hover {
    filter: brightness(1.1);
}

.admin-payments-chart-bar[data-empty="1"] {
    background: #e8eaed;
    cursor: default;
}

/* Значение над столбиком */
.admin-payments-chart-value {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
}

.admin-payments-chart-bar:hover .admin-payments-chart-value {
    opacity: 1;
}

.admin-payments-chart-legend {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.admin-payments-chart-legend-item {
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-payments-chart-legend-item small {
    display: block;
    font-size: 10px;
    color: #80868b;
    margin-top: 2px;
}


/* ============================================================
   IP links (B9)
   ============================================================ */
.admin-ip-link {
    color: var(--primary);
    text-decoration: none;
    font-family: 'SF Mono', Monaco, Menlo, Consolas, monospace;
    font-size: 12px;
    border-bottom: 1px dashed transparent;
    transition: border-color 0.15s;
}

.admin-ip-link:hover {
    border-bottom-color: var(--primary);
}
/* Сайдбар на всю высоту экрана (и контента, если он длиннее) */
.admin-layout {
    display: flex;
    min-height: 100vh;
}
.admin-sidebar {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: auto;
}
.admin-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* === Единый стиль для .admin-nav-item (одинаковая высота) === */
.admin-nav-item {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 10px 16px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    color: inherit !important;
    line-height: 1.2 !important;
}

.admin-nav-item .admin-nav-icon {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

.admin-nav-item > span:not(.admin-nav-icon):not(.badge) {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.admin-nav-item .badge {
    flex-shrink: 0 !important;
    margin-left: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* Бейджи, скрытые через inline-стиль, должны быть скрыты */
.admin-nav-item .badge[style*="display: none"],
.admin-nav-item .badge[style*="display:none"] {
    display: none !important;
}

/* Красная кнопка (для удаления / опасных действий) */
.admin-btn-danger {
    background-color: #d93025 !important;
    color: #ffffff !important;
    border: 1px solid #d93025 !important;
}
.admin-btn-danger:hover {
    background-color: #b3261e !important;
    border-color: #b3261e !important;
}

/* Фиксируем размеры кнопки демо-данных, чтобы она не "прыгала" */
.btn-demo-toggle {
    height: 32px !important;
    padding: 0 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
}
