@import url('./design-tokens.css');

/* ===================================================================
   Bug Tracker – Unified Window Styles
   Class prefix: bt-* (matching HTML template + JS)
   ================================================================ */

/* --- Window Defaults --- */
#bug-tracker-window {
    width: 900px;
    height: 620px;
    min-width: 480px;
    min-height: 380px;
}

/* --- Content Container --- */
.bt-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

/* --- Toolbar --- */
.bt-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 15, 30, 0.5);
    flex-shrink: 0;
}

.bt-toolbar-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    flex-wrap: wrap;
    min-width: 0;
}

.bt-toolbar-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.bt-search-input {
    flex: 1;
    min-width: 120px;
    max-width: 260px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.8rem;
    outline: none;
    transition: border-color 0.2s;
}

.bt-search-input:focus {
    border-color: rgba(180, 160, 255, 0.5);
}

.bt-search-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.bt-filter-select {
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    cursor: pointer;
    outline: none;
}

.bt-filter-select option {
    background: #1a1a2e;
    color: #fff;
}

.bt-stats-badge {
    font-size: 0.7rem;
    color: rgba(180, 160, 255, 0.8);
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(180, 160, 255, 0.1);
    white-space: nowrap;
}

/* --- Buttons --- */
.bt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    line-height: 1.4;
    border: 1px solid transparent;
}

.bt-btn-primary {
    background: linear-gradient(135deg, rgba(180, 160, 255, 0.3), rgba(100, 200, 255, 0.2));
    color: #fff;
    border-color: rgba(180, 160, 255, 0.2);
    font-weight: 600;
}

.bt-btn-primary:hover {
    background: linear-gradient(135deg, rgba(180, 160, 255, 0.5), rgba(100, 200, 255, 0.35));
    transform: translateY(-1px);
    border-color: rgba(180, 160, 255, 0.4);
}

.bt-btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.12);
}

.bt-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
}

.bt-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none !important;
}

/* --- Table --- */
.bt-table-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.bt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.bt-table thead th {
    position: sticky;
    top: 0;
    background: rgba(15, 15, 30, 0.95);
    padding: 8px 10px;
    text-align: left;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.bt-table thead th:hover {
    color: rgba(255, 255, 255, 0.8);
}

.bt-table thead th.sorted-asc::after { content: ' ▲'; font-size: 0.6rem; }
.bt-table thead th.sorted-desc::after { content: ' ▼'; font-size: 0.6rem; }

/* Column widths */
.bt-th-votes    { width: 60px; }
.bt-th-type     { width: 55px; }
.bt-th-priority { width: 90px; }
.bt-th-title    { /* flex fill */ }
.bt-th-status   { width: 95px; }
.bt-th-reporter { width: 100px; }
.bt-th-date     { width: 80px; }

.bt-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s;
}

.bt-table tbody tr:hover {
    background: rgba(180, 160, 255, 0.06);
}

.bt-table tbody td {
    padding: 8px 10px;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.8);
}

.bt-bug-row { cursor: pointer; }

.bt-cell-title {
    max-width: 280px;
}

.bt-bug-title-text {
    display: inline;
}

.bt-security-tag {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.7rem;
    opacity: 0.8;
}

.bt-type-badge {
    font-size: 1rem;
}

/* --- Priority Badges --- */
.bug-priority-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
}

.bug-priority-badge.critical {
    background: rgba(255, 60, 60, 0.15);
    color: #ff5555;
    border: 1px solid rgba(255, 60, 60, 0.25);
}

.bug-priority-badge.high {
    background: rgba(255, 160, 50, 0.15);
    color: #ffaa44;
    border: 1px solid rgba(255, 160, 50, 0.25);
}

.bug-priority-badge.medium {
    background: rgba(255, 220, 50, 0.15);
    color: #ffdd55;
    border: 1px solid rgba(255, 220, 50, 0.25);
}

.bug-priority-badge.low {
    background: rgba(100, 180, 255, 0.15);
    color: #66bbff;
    border: 1px solid rgba(100, 180, 255, 0.25);
}

.bug-priority-badge.cosmetic {
    background: rgba(150, 150, 150, 0.15);
    color: #aaa;
    border: 1px solid rgba(150, 150, 150, 0.25);
}

/* --- Status Badges --- */
.bug-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
}

.bug-status-badge.new { color: #88ccff; background: rgba(100, 180, 255, 0.12); }
.bug-status-badge.triaged { color: #cc99ff; background: rgba(180, 120, 255, 0.12); }
.bug-status-badge.accepted { color: #66ddaa; background: rgba(100, 220, 170, 0.12); }
.bug-status-badge.in-progress { color: #ffcc44; background: rgba(255, 200, 60, 0.12); }
.bug-status-badge.resolved { color: #66ee88; background: rgba(100, 230, 130, 0.12); }
.bug-status-badge.closed { color: #888; background: rgba(150, 150, 150, 0.1); }
.bug-status-badge.rejected { color: #ff6666; background: rgba(255, 80, 80, 0.1); }
.bug-status-badge.wont-fix { color: #cc8866; background: rgba(200, 130, 100, 0.1); }

/* --- Vote Button --- */
.bt-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.bt-vote-btn:hover {
    border-color: rgba(180, 160, 255, 0.4);
    background: rgba(180, 160, 255, 0.1);
    color: rgba(180, 160, 255, 0.9);
}

.bt-vote-btn.bt-voted {
    border-color: rgba(180, 160, 255, 0.5);
    background: rgba(180, 160, 255, 0.15);
    color: #b4a0ff;
}

.bt-vote-count {
    font-weight: 600;
}

/* --- Empty State --- */
.bt-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    gap: 8px;
}

.bt-empty-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.bt-empty-state p {
    margin: 0;
    font-size: 0.9rem;
}

/* --- Loading State --- */
.bt-loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

/* --- Error Cell --- */
.bt-error-cell {
    text-align: center;
    padding: 24px;
    color: rgba(255, 100, 100, 0.7);
    font-size: 0.85rem;
}

/* --- Pagination --- */
.bt-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.bt-page-btn {
    padding: 3px 10px;
    font-size: 0.85rem;
}

.bt-page-info {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================================================
   Modal Overlay (Report + Detail)
   ================================================================ */
.bt-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    border-radius: inherit;
}

.bt-modal {
    width: 600px;
    max-width: 92%;
    max-height: 85%;
    overflow-y: auto;
    background: rgba(20, 20, 40, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.bt-modal-wide {
    width: 720px;
}

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

.bt-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.bt-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.15s;
}

.bt-modal-close:hover {
    background: rgba(255, 80, 80, 0.15);
    color: #ff6666;
}

.bt-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px;
}

/* Inline error message inside report modal */
.bt-inline-error {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.10);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: rgba(255, 200, 200, 0.95);
    font-size: 0.82rem;
    line-height: 1.35;
}

/* Delete button: subtle danger */
.bt-delete-btn {
    border-color: rgba(239, 68, 68, 0.25);
    background: rgba(239, 68, 68, 0.08);
}

.bt-delete-btn:hover {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.12);
}

.bt-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

/* ===================================================================
   Bug Report Form
   ================================================================ */
.bt-form-group {
    margin-bottom: 14px;
}

.bt-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.bt-form-group input[type="text"],
.bt-form-group input[type="search"],
.bt-form-group select,
.bt-form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.bt-form-group input:focus,
.bt-form-group select:focus,
.bt-form-group textarea:focus {
    border-color: rgba(180, 160, 255, 0.5);
}

.bt-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.bt-form-group select option {
    background: #1a1a2e;
    color: #fff;
}

.bt-form-row {
    display: flex;
    gap: 12px;
}

.bt-form-half {
    flex: 1;
}

/* --- Screenshot Drop Zone --- */
.bt-screenshot-drop {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    min-height: 56px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.bt-screenshot-drop:hover,
.bt-screenshot-drop:focus {
    border-color: rgba(180, 160, 255, 0.4);
    background: rgba(180, 160, 255, 0.05);
    outline: none;
}

.bt-screenshot-preview {
    max-height: 100px;
    border-radius: 6px;
}

/* --- Security Toggle --- */
.bt-security-toggle label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.bt-security-toggle input[type="checkbox"] {
    width: auto;
    accent-color: #b4a0ff;
}

/* --- Auto Context Info --- */
.bt-auto-context small {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

/* ===================================================================
   Detail Modal – Dynamic Content
   ================================================================ */
.bt-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
}

.bt-detail-date,
.bt-detail-reporter {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

.bt-detail-description {
    margin-bottom: 14px;
}

.bt-detail-description h4,
.bt-detail-steps h4,
.bt-detail-context h4 {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bt-detail-description p {
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    white-space: pre-wrap;
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.bt-detail-steps {
    margin-bottom: 14px;
}

.bt-detail-steps pre {
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    white-space: pre-wrap;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-family: inherit;
}

.bt-detail-screenshot {
    margin-bottom: 14px;
}

.bt-detail-screenshot img {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bt-detail-context {
    margin-bottom: 14px;
}

.bt-context-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
}

.bt-context-grid strong {
    color: rgba(255, 255, 255, 0.45);
}

.bt-detail-votes {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

/* --- Admin Section in Detail --- */
.bt-detail-admin {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(255, 200, 50, 0.15);
    border-radius: 10px;
    background: rgba(255, 200, 50, 0.03);
}

.bt-detail-admin h4 {
    color: rgba(255, 200, 50, 0.8);
    margin: 0 0 10px 0;
    font-size: 0.85rem;
}

.bt-admin-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bt-admin-controls label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.bt-admin-note-input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.8rem;
    font-family: inherit;
    outline: none;
    resize: vertical;
    box-sizing: border-box;
}

.bt-admin-note-input:focus {
    border-color: rgba(180, 160, 255, 0.5);
}

/* --- Tag Chips --- */
.bt-tag {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 8px;
    font-size: 0.65rem;
    background: rgba(100, 180, 255, 0.1);
    color: rgba(100, 180, 255, 0.8);
    border: 1px solid rgba(100, 180, 255, 0.15);
    margin-right: 4px;
}

/* ===================================================================
   Character Counter
   ================================================================ */
.bt-char-counter {
    display: block;
    text-align: right;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 3px;
}

.bt-char-counter.bt-char-warning {
    color: rgba(255, 170, 50, 0.85);
}

/* ===================================================================
   Anonymous Toggle
   ================================================================ */
.bt-anonymous-toggle {
    margin-top: 4px;
}

.bt-anonymous-toggle label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.bt-anonymous-toggle input[type="checkbox"] {
    width: auto;
    accent-color: #b4a0ff;
}

/* ===================================================================
   Category Badge
   ================================================================ */
.bt-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    border-radius: 10px;
    font-size: 0.68rem;
    background: rgba(180, 160, 255, 0.1);
    color: rgba(180, 160, 255, 0.85);
    border: 1px solid rgba(180, 160, 255, 0.15);
    white-space: nowrap;
}

.bt-th-category {
    width: 90px;
    min-width: 70px;
}

/* ===================================================================
   Toast Notification
   ================================================================ */
.bt-toast {
    position: absolute;
    bottom: 16px;
    right: 16px;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(50, 200, 120, 0.18);
    color: rgba(50, 220, 130, 0.95);
    border: 1px solid rgba(50, 200, 120, 0.25);
    font-size: 0.82rem;
    z-index: 20;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.bt-toast-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================================
   Notification Banner
   ================================================================ */
.bt-notification-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    margin: 0 0 8px 0;
    border-radius: 10px;
    background: rgba(60, 140, 255, 0.12);
    border: 1px solid rgba(60, 140, 255, 0.25);
    color: rgba(100, 170, 255, 0.95);
    font-size: 0.82rem;
    animation: bt-notif-slide 0.3s ease;
}

@keyframes bt-notif-slide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bt-notif-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bt-notif-text {
    flex: 1;
}

.bt-notif-text strong {
    color: rgba(140, 190, 255, 1);
}

.bt-notif-dismiss {
    background: none;
    border: none;
    color: rgba(100, 170, 255, 0.6);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.15s;
}

.bt-notif-dismiss:hover {
    background: rgba(100, 170, 255, 0.1);
    color: rgba(100, 170, 255, 0.9);
}

/* ===================================================================
   Duplicate Warning
   ================================================================ */
.bt-duplicate-warning {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 16px;
    margin: 0 0 8px 0;
    border-radius: 10px;
    background: rgba(255, 170, 50, 0.08);
    border: 1px solid rgba(255, 170, 50, 0.2);
    color: rgba(255, 190, 80, 0.9);
    font-size: 0.8rem;
}

.bt-dup-icon {
    flex-shrink: 0;
}

.bt-dup-list {
    list-style: none;
    padding: 0;
    margin: 2px 0 0 0;
    width: 100%;
}

.bt-dup-list li {
    padding: 3px 0;
}

.bt-dup-list a {
    color: rgba(255, 190, 80, 0.85);
    text-decoration: underline;
    cursor: pointer;
}

.bt-dup-list a:hover {
    color: rgba(255, 200, 100, 1);
}

/* ===================================================================
   Subscribe Button
   ================================================================ */
.bt-subscribe-btn {
    font-size: 0.78rem;
    padding: 5px 14px;
}

.bt-subscribe-btn.bt-subscribed {
    background: rgba(60, 140, 255, 0.12);
    border-color: rgba(60, 140, 255, 0.25);
    color: rgba(100, 170, 255, 0.9);
}

.bt-detail-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

/* ===================================================================
   Resolution Info (visible to all users)
   ================================================================ */
.bt-detail-resolution {
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(50, 200, 120, 0.06);
    border: 1px solid rgba(50, 200, 120, 0.15);
}

.bt-detail-resolution h4 {
    font-size: 0.8rem;
    color: rgba(50, 200, 120, 0.8);
    margin: 0 0 6px 0;
}

.bt-detail-resolution p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    white-space: pre-wrap;
}

/* ===================================================================
   Notify Toggle (same style as anonymous/security toggle)
   ================================================================ */
.bt-notify-toggle label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.bt-notify-toggle input[type="checkbox"] {
    width: auto;
    accent-color: #64aaff;
}

/* ===================================================================
   Agent Toggle (admin detail view)
   ================================================================ */
.bt-agent-toggle {
    margin-top: 4px;
}

.bt-agent-toggle label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.bt-agent-toggle input[type="checkbox"] {
    width: auto;
    accent-color: #b4a0ff;
}

.bt-agent-info {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}
