.chat-container {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: opacity 0.15s ease;
}

.chat-container vanna-chat {
    flex: 1;
    min-height: 0;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
}

/* Blink animation for currently-testing row */
@keyframes testingPulse {

    0%,
    100% {
        background-color: rgba(168, 85, 247, 0.08);
    }

    50% {
        background-color: rgba(168, 85, 247, 0.22);
    }
}

.testing-row {
    animation: testingPulse 1.2s ease-in-out infinite;
}

/* Copy button in table */
.copy-sql-btn {
    opacity: 0;
    transition: opacity 0.15s;
}

.sql-cell-wrap:hover .copy-sql-btn {
    opacity: 1;
}

/* ── Test Modal — Dark Rosé Pine theme ── */
.test-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.test-modal-panel {
    background: #1e1e2e;
    border-radius: 1.25rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    width: min(96vw, 1100px);
    height: min(92vh, 780px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeUp 0.2s ease;
}

.test-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.test-modal-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #e0def4;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.test-modal-header .close-btn {
    background: none;
    border: none;
    color: #6e6a86;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.25rem;
    transition: color 0.15s;
}

.test-modal-header .close-btn:hover {
    color: #eb6f92;
}

.test-modal-tabs {
    display: flex;
    gap: 0;
    padding: 0.75rem 1.5rem 0;
    flex-shrink: 0;
}

.test-tab {
    padding: 0.5rem 1.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: #6e6a86;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    font-family: inherit;
}

.test-tab.active {
    color: #c4a7e7;
    border-bottom-color: #c4a7e7;
}

.test-tab:hover:not(.active) {
    color: #908caa;
}

.test-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    min-height: 0;
}

.test-modal-body::-webkit-scrollbar {
    width: 6px;
}

.test-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.test-modal-body::-webkit-scrollbar-thumb {
    background: rgba(144, 140, 170, 0.3);
    border-radius: 3px;
}

/* Built-in suite card */
.suite-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.15s, border-color 0.15s;
    cursor: pointer;
}

.suite-card:hover {
    background: rgba(196, 167, 231, 0.06);
    border-color: rgba(196, 167, 231, 0.18);
}

.suite-card input[type="checkbox"] {
    accent-color: #c4a7e7;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.suite-card .suite-label {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 500;
    color: #e0def4;
}

.suite-card .suite-count {
    font-size: 0.7rem;
    color: #6e6a86;
    font-family: 'JetBrains Mono', 'Fira Mono', monospace;
}

/* Custom test form */
.custom-form-section {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.custom-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.custom-form-header span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e0def4;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.custom-form-body {
    padding: 0.85rem 1rem;
}

.cf-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.cf-row:last-child {
    margin-bottom: 0;
}

.cf-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cf-field label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #908caa;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cf-field input,
.cf-field textarea {
    width: 100%;
    padding: 0.4rem 0.6rem;
    border-radius: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: #e0def4;
    font-size: 0.78rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.cf-field input::placeholder,
.cf-field textarea::placeholder {
    color: #524f67;
}

.cf-field input:focus,
.cf-field textarea:focus {
    border-color: #c4a7e7;
}

.cf-add-btn {
    padding: 0.4rem 1rem;
    border-radius: 0.4rem;
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    background: linear-gradient(135deg, #48387D, #ED288E);
    color: #fff;
    transition: opacity 0.15s, transform 0.1s;
    white-space: nowrap;
    flex-shrink: 0;
}

.cf-add-btn:hover {
    opacity: 0.9;
}

.cf-add-btn:active {
    transform: scale(0.96);
}

/* Custom test list items */
.ct-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.15s;
}

.ct-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.ct-item .ct-num {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6e6a86;
    font-family: 'JetBrains Mono', 'Fira Mono', monospace;
    min-width: 22px;
}

.ct-item .ct-question {
    flex: 1;
    font-size: 0.78rem;
    color: #e0def4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ct-item .ct-meta {
    font-size: 0.65rem;
    color: #6e6a86;
    white-space: nowrap;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ct-item .ct-del {
    background: none;
    border: none;
    color: #6e6a86;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.15s;
    flex-shrink: 0;
}

.ct-item .ct-del:hover {
    color: #eb6f92;
}

.ct-empty {
    text-align: center;
    color: #524f67;
    font-size: 0.75rem;
    padding: 1.5rem 0;
}

/* Action bar at bottom of custom tab */
.ct-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0;
}

.ct-ghost-btn {
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #908caa;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}

.ct-ghost-btn:hover {
    border-color: rgba(196, 167, 231, 0.3);
    color: #c4a7e7;
    background: rgba(196, 167, 231, 0.06);
}

.ct-ghost-btn.danger:hover {
    border-color: rgba(235, 111, 146, 0.3);
    color: #eb6f92;
    background: rgba(235, 111, 146, 0.06);
}

.ct-count {
    font-size: 0.7rem;
    color: #6e6a86;
    margin-left: auto;
    font-family: 'JetBrains Mono', 'Fira Mono', monospace;
}

/* Summary bar (dark) */
.test-summary-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.5rem 0.85rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.test-summary-bar .ts-stat {
    font-size: 0.72rem;
    font-weight: 600;
}

.test-summary-bar .ts-stat.pass {
    color: #9ccfd8;
}

.test-summary-bar .ts-stat.fail {
    color: #eb6f92;
}

.test-summary-bar .ts-stat.err {
    color: #f6c177;
}

.test-summary-bar .ts-stat.rate {
    color: #908caa;
}

.test-summary-bar .ts-stat.tok {
    color: #c4a7e7;
}

.test-dl-btn {
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: #e0def4;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}

.test-dl-btn:hover {
    background: linear-gradient(135deg, #48387D, #ED288E);
    border-color: transparent;
}

/* Filter tabs (dark) */
.test-filter-group {
    display: flex;
    gap: 2px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0.4rem;
}

.test-filter-btn {
    padding: 0.3rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 500;
    border: none;
    background: transparent;
    color: #6e6a86;
    cursor: pointer;
    border-radius: 0.3rem;
    font-family: inherit;
    transition: all 0.15s;
}

.test-filter-btn.active {
    background: rgba(196, 167, 231, 0.15);
    color: #e0def4;
}

.test-filter-btn:hover:not(.active) {
    color: #908caa;
}

/* Run button (dark) */
.test-run-btn {
    padding: 0.45rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
    background: linear-gradient(135deg, #48387D, #ED288E);
    color: #fff;
    transition: opacity 0.15s, transform 0.1s, box-shadow 0.2s;
}

.test-run-btn:hover {
    box-shadow: 0 4px 18px -4px rgba(237, 40, 142, 0.4);
}

.test-run-btn:active {
    transform: scale(0.97);
}

.test-run-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.test-run-btn.cancel {
    background: linear-gradient(135deg, #a83244, #c42020);
}

/* Preview table (dark) */
.test-preview-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.test-preview-table th {
    padding: 0.4rem 0.65rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #908caa;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    position: sticky;
    top: 0;
    background: #1e1e2e;
    z-index: 1;
}

.test-preview-table th.result-col {
    color: #c4a7e7;
}

.test-preview-table td {
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
    color: #908caa;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.test-preview-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.test-preview-table tr.bg-pass td {
    background: rgba(156, 207, 216, 0.06);
}

.test-preview-table tr.bg-fail td {
    background: rgba(235, 111, 146, 0.06);
}

.test-preview-table tr.bg-error td {
    background: rgba(246, 193, 119, 0.06);
}

.test-preview-table input[type="checkbox"] {
    accent-color: #c4a7e7;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-badge.pass {
    color: #9ccfd8;
    background: rgba(156, 207, 216, 0.12);
}

.status-badge.fail {
    color: #eb6f92;
    background: rgba(235, 111, 146, 0.12);
}

.status-badge.err {
    color: #f6c177;
    background: rgba(246, 193, 119, 0.12);
}

/* Failed/error breakdown (dark) */
.test-breakdown {
    padding: 0.6rem 0.85rem;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

.test-breakdown.fail-bd {
    background: rgba(235, 111, 146, 0.06);
    border: 1px solid rgba(235, 111, 146, 0.12);
}

.test-breakdown.err-bd {
    background: rgba(246, 193, 119, 0.06);
    border: 1px solid rgba(246, 193, 119, 0.12);
}

.test-breakdown .bd-title {
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.test-breakdown.fail-bd .bd-title {
    color: #eb6f92;
}

.test-breakdown.err-bd .bd-title {
    color: #f6c177;
}

.test-breakdown .bd-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.2rem 0.35rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    cursor: pointer;
    transition: background 0.1s;
}

.test-breakdown.fail-bd .bd-row:hover {
    background: rgba(235, 111, 146, 0.08);
}

.test-breakdown.err-bd .bd-row:hover {
    background: rgba(246, 193, 119, 0.08);
}

.bd-row .bd-id {
    font-weight: 700;
    flex-shrink: 0;
    font-family: 'JetBrains Mono', 'Fira Mono', monospace;
}

.test-breakdown.fail-bd .bd-id {
    color: #eb6f92;
}

.test-breakdown.err-bd .bd-id {
    color: #f6c177;
}

.bd-row .bd-q {
    flex: 1;
    color: #e0def4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bd-row .bd-reason {
    color: #6e6a86;
    font-size: 0.62rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Run area hint */
.test-run-hint {
    font-size: 0.7rem;
    color: #524f67;
}

/* CSV import area */
.csv-import-zone {
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: border-color 0.15s;
}

.csv-import-zone:hover {
    border-color: rgba(196, 167, 231, 0.25);
}

.csv-import-zone input[type="file"] {
    font-size: 0.72rem;
    color: #908caa;
}

.csv-import-zone input[type="file"]::file-selector-button {
    padding: 4px 12px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #e0def4;
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    margin-right: 8px;
    transition: all 0.15s;
}

.csv-import-zone input[type="file"]::file-selector-button:hover {
    background: rgba(196, 167, 231, 0.12);
    border-color: rgba(196, 167, 231, 0.25);
}

/* Settings Modal */
.settings-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.settings-overlay.active {
    display: flex;
}

.settings-modal {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    width: 440px;
    max-width: 92vw;
    overflow: hidden;
    animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.settings-header {
    background: linear-gradient(to right, #48387D, #ED288E);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.settings-header h2 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.settings-header button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.settings-header button:hover {
    background: rgba(255, 255, 255, 0.35);
}

.settings-body {
    padding: 1.5rem;
}

.setting-group {
    margin-bottom: 1.5rem;
}

.setting-group:last-child {
    margin-bottom: 0;
}

.setting-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.setting-label span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

.setting-label .setting-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #48387D;
}

.setting-description {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 0.5rem;
}

/* Gradient range slider */
input[type='range'].gradient-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #48387D, #ED288E);
    outline: none;
    cursor: pointer;
}

input[type='range'].gradient-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #48387D;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s;
}

input[type='range'].gradient-slider::-webkit-slider-thumb:hover {
    border-color: #ED288E;
    transform: scale(1.15);
}

input[type='range'].gradient-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #48387D;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Select dropdown */
.setting-select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 0.75rem;
    border: 1.5px solid #e0e0e0;
    font-size: 0.85rem;
    color: #333;
    background: #fafafa;
    transition: border-color 0.2s;
    outline: none;
}

.setting-select:focus {
    border-color: #48387D;
}

/* Number input */
.setting-input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 0.75rem;
    border: 1.5px solid #e0e0e0;
    font-size: 0.85rem;
    color: #333;
    background: #fafafa;
    transition: border-color 0.2s;
    outline: none;
    box-sizing: border-box;
}

.setting-input:focus {
    border-color: #48387D;
}

/* Boolean toggle switch */
.setting-toggle {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #e0e0e0;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.setting-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.setting-toggle.active {
    background: linear-gradient(to right, #48387D, #ED288E);
}

.setting-toggle.active::after {
    transform: translateX(18px);
}

/* Save button */
.settings-footer {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn-save {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to right, #48387D, #ED288E);
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.15s;
    white-space: nowrap;
}

.btn-save:hover {
    box-shadow: 0 4px 14px rgba(237, 40, 142, 0.35);
    transform: translateY(-1px);
}

.btn-cancel {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    background: #f0f0f0;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

/* Settings gear & Header icon buttons (Guide, Apps, Settings, Logout, Auto Exec) */
.settings-btn,
.header-icon-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.6rem;
    color: #fff;
    padding: 0 0.65rem;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}

.settings-btn:hover,
.header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.settings-btn svg,
.header-icon-btn svg {
    width: 16px;
    height: 16px;
    shrink: 0;
}

/* User profile chip in the header */
.user-profile {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.3rem 0.7rem 0.3rem 0.3rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.user-status {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Auto Execution Header Switcher */
.auto-exec-chip {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.8rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.auto-exec-chip:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.45);
}

.auto-exec-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.auto-exec-switch {
    position: relative;
    width: 34px;
    height: 18px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.auto-exec-switch.active {
    background: #10b981;
}

.auto-exec-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.auto-exec-switch.active .auto-exec-slider {
    transform: translateX(16px);
}

/* Logs Viewer Modal */
.logs-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.logs-overlay.active {
    display: flex;
}

.logs-modal {
    background: #1e1e2e;
    border-radius: 1.25rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    width: min(95vw, 1000px);
    height: min(90vh, 680px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeUp 0.2s ease;
}

/* ── SQL View Modal (mirrors logs modal design) ── */
.sql-view-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.sql-view-overlay.active {
    display: flex;
}

.sql-view-modal {
    background: #1e1e2e;
    border-radius: 1.25rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    width: 80vw;
    height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeUp 0.2s ease;
}

.sql-view-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.1rem 1.5rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.sql-view-header-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.sql-view-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #e0def4;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sql-view-header button.close-btn {
    background: none;
    border: none;
    color: #6e6a86;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.25rem;
    transition: color 0.15s;
    flex-shrink: 0;
}

.sql-view-header button.close-btn:hover {
    color: #eb6f92;
}

.sql-view-title-input {
    width: 100%;
    border: none;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #908caa;
    background: transparent;
    transition: color 0.15s, background 0.15s;
    outline: none;
    font-family: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sql-view-title-input::placeholder {
    color: #6e6a86;
}

.sql-view-title-input:hover {
    color: #c4a7e7;
}

.sql-view-title-input:focus {
    color: #e0def4;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.sql-view-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    padding: 0.5rem 1.5rem;
    flex-shrink: 0;
}

.sql-view-body {
    flex: 1;
    overflow: hidden;
    padding: 0 1.5rem 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.sql-view-body>div {
    height: 100%;
}

.sql-view-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem 1rem;
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    justify-content: flex-end;
}

/* ── Toolbar buttons — same style as SQL embedding panel ── */
.sv-btn,
.sv-btn.teal,
.sv-btn-run {
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid rgba(209, 213, 219, 0.36);
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.sv-btn:hover,
.sv-btn.teal:hover,
.sv-btn-run:hover {
    background: linear-gradient(135deg, #48387D, #ED288E);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px -4px rgba(72, 56, 125, 0.5);
}

.sv-btn:active,
.sv-btn.teal:active,
.sv-btn-run:active {
    background: linear-gradient(135deg, #3a2d68, #c42078);
    transform: scale(0.96);
    box-shadow: none;
}


.logs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.logs-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #e0def4;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logs-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logs-header button.close-btn {
    background: none;
    border: none;
    color: #6e6a86;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.25rem;
    transition: color 0.15s;
}

.logs-header button.close-btn:hover {
    color: #eb6f92;
}

.logs-tabs {
    display: flex;
    gap: 0;
    padding: 0.75rem 1.5rem 0;
    flex-shrink: 0;
}

.logs-tab {
    padding: 0.45rem 1.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: #6e6a86;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.logs-tab.active {
    color: #c4a7e7;
    border-bottom-color: #c4a7e7;
}

.logs-tab:hover:not(.active) {
    color: #908caa;
}

.logs-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.5rem;
    flex-shrink: 0;
}

.logs-count {
    font-size: 0.7rem;
    color: #6e6a86;
    font-family: 'JetBrains Mono', 'Fira Mono', monospace;
}

.logs-toolbar-btns {
    display: flex;
    gap: 0.4rem;
}

.logs-btn {
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(196, 167, 231, 0.3);
    border-radius: 0.5rem;
    background: transparent;
    color: #c4a7e7;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.logs-btn:hover {
    background: rgba(196, 167, 231, 0.12);
    border-color: #c4a7e7;
}

.logs-btn.refresh-btn {
    color: #9ccfd8;
    border-color: rgba(156, 207, 216, 0.3);
}

.logs-btn.refresh-btn:hover {
    background: rgba(156, 207, 216, 0.1);
    border-color: #9ccfd8;
}

.logs-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 1.5rem 1rem;
    min-height: 0;
}

.logs-pre {
    margin: 0;
    font-family: 'JetBrains Mono', 'Fira Mono', 'Courier New', monospace;
    font-size: 0.7rem;
    line-height: 1.6;
    color: #908caa;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Colour-code log levels */
.log-error {
    color: #eb6f92;
}

.log-warning {
    color: #f6c177;
}

.log-info {
    color: #9ccfd8;
}

.log-perf {
    color: #31748f;
}

/* Timeline UI */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-group {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.timeline-group-header {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.75rem;
    font-weight: 600;
    color: #e0def4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'JetBrains Mono', 'Fira Mono', monospace;
}

.timeline-bars {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.timeline-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 1.25rem;
}

.timeline-label {
    width: 180px;
    font-size: 0.7rem;
    color: #908caa;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
    text-align: right;
}

.timeline-track {
    flex: 1;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
    position: relative;
}

.timeline-bar {
    position: absolute;
    height: 100%;
    border-radius: 3px;
    min-width: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: opacity 0.15s;
}

.timeline-bar:hover {
    opacity: 0.8;
    z-index: 10;
}

.timeline-dur {
    font-size: 0.6rem;
    color: #191724;
    font-weight: 700;
    white-space: nowrap;
    padding: 0 4px;
    opacity: 0;
    transition: opacity 0.15s;
}

.timeline-bar:hover .timeline-dur {
    opacity: 1;
}

.logs-empty {
    text-align: center;
    color: #6e6a86;
    font-size: 0.8rem;
    padding: 2rem 0;
}

/* View-Logs / View-Feedback / View-Costs buttons in settings footer */
.btn-logs,
.btn-feedback,
.btn-costs {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #48387D;
    background: #f3f0ff;
    border: 1.5px solid #c9b8f7;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.btn-logs {
    margin-right: auto;
}

.btn-feedback {
    margin-right: 0;
}

.btn-logs:hover,
.btn-feedback:hover,
.btn-costs:hover {
    background: #e9e0ff;
    border-color: #a98df5;
}

/* ── Cost Viewer Modal ── */
.cost-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.cost-overlay.active {
    display: flex;
}

.cost-modal {
    background: #1e1e2e;
    border-radius: 1.25rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    width: min(95vw, 1100px);
    height: min(90vh, 720px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeUp 0.2s ease;
}

.cost-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.cost-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #e0def4;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cost-header button.close-btn {
    background: none;
    border: none;
    color: #6e6a86;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.25rem;
    transition: color 0.15s;
}

.cost-header button.close-btn:hover {
    color: #eb6f92;
}

.cost-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.cost-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    min-height: 0;
}

.cost-body::-webkit-scrollbar {
    width: 6px;
}

.cost-body::-webkit-scrollbar-track {
    background: transparent;
}

.cost-body::-webkit-scrollbar-thumb {
    background: rgba(144, 140, 170, 0.3);
    border-radius: 3px;
}

.cost-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.cost-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    text-align: center;
}

.cost-stat-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6e6a86;
    margin-bottom: 0.4rem;
}

.cost-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e0def4;
    font-family: 'JetBrains Mono', 'Fira Mono', monospace;
}

.cost-trend-section {
    margin-top: 1.25rem;
}

.cost-trend-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #908caa;
    margin-bottom: 0.5rem;
}

.cost-trend-chart {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 120px;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cost-trend-bar-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    cursor: default;
}

.cost-trend-bar {
    width: 100%;
    min-height: 2px;
    background: linear-gradient(to top, #48387D, #c4a7e7);
    border-radius: 2px 2px 0 0;
    transition: opacity 0.15s;
}

.cost-trend-bar-wrap:hover .cost-trend-bar {
    opacity: 0.7;
}

.cost-trend-label {
    font-size: 0.5rem;
    color: #6e6a86;
    margin-top: 3px;
    white-space: nowrap;
}

/* ── Feedback Viewer Modal ── */
.feedback-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.feedback-overlay.active {
    display: flex;
}

.feedback-modal {
    background: #1e1e2e;
    border-radius: 1.25rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    width: min(95vw, 1100px);
    height: min(90vh, 720px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeUp 0.2s ease;
}

.feedback-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.feedback-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #e0def4;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feedback-header button.close-btn {
    background: none;
    border: none;
    color: #6e6a86;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.25rem;
    transition: color 0.15s;
}

.feedback-header button.close-btn:hover {
    color: #eb6f92;
}

.feedback-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.feedback-count {
    font-size: 0.75rem;
    color: #908caa;
    font-family: 'JetBrains Mono', 'Fira Mono', monospace;
}

.feedback-toolbar-btns {
    display: flex;
    gap: 0.4rem;
}

.feedback-filter-group {
    display: flex;
    gap: 2px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0.4rem;
}

.feedback-filter-btn {
    padding: 0.3rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 500;
    border: none;
    background: transparent;
    color: #6e6a86;
    cursor: pointer;
    border-radius: 0.3rem;
    font-family: inherit;
    transition: all 0.15s;
}

.feedback-filter-btn.active {
    background: rgba(196, 167, 231, 0.15);
    color: #e0def4;
}

.feedback-filter-btn:hover:not(.active) {
    color: #908caa;
}

.feedback-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    min-height: 0;
}

.feedback-body::-webkit-scrollbar {
    width: 6px;
}

.feedback-body::-webkit-scrollbar-track {
    background: transparent;
}

.feedback-body::-webkit-scrollbar-thumb {
    background: rgba(144, 140, 170, 0.3);
    border-radius: 3px;
}

.feedback-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.feedback-table th {
    padding: 0.5rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #908caa;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    position: sticky;
    top: 0;
    background: #1e1e2e;
    z-index: 1;
}

.feedback-table td {
    padding: 0.45rem 0.75rem;
    font-size: 0.72rem;
    color: #908caa;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: top;
}

.feedback-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.feedback-table td.fb-positive {
    color: #9ccfd8;
}

.feedback-table td.fb-negative {
    color: #eb6f92;
}

.feedback-table .fb-sql {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'JetBrains Mono', 'Fira Mono', monospace;
    font-size: 0.68rem;
    cursor: pointer;
    transition: color 0.15s;
}

.feedback-table .fb-sql:hover {
    color: #c4a7e7;
}

.feedback-table .fb-comments {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feedback-table .fb-time {
    font-family: 'JetBrains Mono', 'Fira Mono', monospace;
    font-size: 0.65rem;
    color: #6e6a86;
    white-space: nowrap;
}

.feedback-empty {
    text-align: center;
    color: #6e6a86;
    font-size: 0.8rem;
    padding: 3rem 0;
}

.fb-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 8px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
}

.fb-badge.positive {
    color: #9ccfd8;
    background: rgba(156, 207, 216, 0.12);
}

.fb-badge.negative {
    color: #eb6f92;
    background: rgba(235, 111, 146, 0.12);
}

.fb-badge.category {
    color: #c4a7e7;
    background: rgba(196, 167, 231, 0.12);
}

/* Toggle switch */
.toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-switch {
    position: relative;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.2s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked+.toggle-slider {
    background: linear-gradient(to right, #48387D, #ED288E);
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(18px);
}

/* Hide QuickReply suggestions when toggle is off */
body.hide-suggestions .quick-reply-card,
body.hide-suggestions [data-component-type="quick_reply"] {
    display: none !important;
}

/* ── AMILI Theme & Full Width Overrides ── */

/* Force full width on tables & SQL panels */
.dataframe-table-container, .dataframe-table, table.dataframe-table {
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
}

.sql-query-panel, .sql-query-panel pre {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Amili Gradient Borders on Inputs, Textareas, Selects & Hover States */
input[type="text"], input[type="number"], textarea, select, .setting-input, .setting-select, .sql-view-title-input {
    border: 1px solid rgba(124, 58, 237, 0.3) !important;
    transition: all 0.2s ease-in-out !important;
}

input[type="text"]:focus, input[type="number"]:focus, textarea:focus, select:focus,
input[type="text"]:hover, input[type="number"]:hover, textarea:hover, select:hover,
.setting-input:focus, .setting-select:focus {
    border-color: #ED288E !important;
    box-shadow: 0 0 0 3px rgba(237, 40, 142, 0.15) !important;
    outline: none !important;
}

/* Unified Amili Gradient Button Style */
.btn-save, .sv-btn-run, .cf-add-btn, .test-run-btn {
    background: linear-gradient(135deg, #7C3AED, #ED288E) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important;
}


/* ── Collapsible Left Sidebar Styles (Shadcn UI Floating Circular Trigger) ── */
#sidebar-wrapper {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#sidebar-wrapper.collapsed #sidebar-aside {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

#sidebar-wrapper.collapsed #sidebar-toggle-btn {
    position: fixed;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 9999px;
    width: 32px;
    height: 32px;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
    background: #ffffff;
    color: #7C3AED;
    border: 1.5px solid rgba(124, 58, 237, 0.3);
}

#sidebar-wrapper.collapsed #sidebar-toggle-btn:hover {
    background: linear-gradient(135deg, #7C3AED, #ED288E);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
}

#sidebar-wrapper.collapsed #sidebar-toggle-icon {
    transform: rotate(180deg);
}


