/* sons/css/audio_style.css - VERSÃO FINAL OTIMIZADA*/

/* --- 1. LAYOUT GERAL --- */
html { scroll-behavior: smooth; }

body {
    font-family: Verdana, sans-serif;
    background-color: #121212;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    margin: 0; padding: 0;
    display: flex; flex-direction: column;
    min-height: 100vh;
}

.main-content-area {
    flex: 1; width: 100%;
    padding-bottom: 50px; margin-top: 40px;
}

.main-content-area *, .container, .container * { box-sizing: border-box; }

/* --- 2. CONTAINER E COMPONENTES BÁSICOS --- */
.container {
    max-width: 1200px; margin: 40px auto;
    background: linear-gradient(135deg, rgba(0,0,0, 0.9) 0%, rgba(0,0,0, 0.95) 100%);
    border-radius: 20px; padding: 30px;
    border: 2px solid #ff5000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.section-header {
    margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 10px;
}

.section-header h2 { color: #ff5000; font-size: 24px; margin: 0 0 5px 0; }
.section-header p { color: #888; font-size: 12px; margin: 0; }

/* Botões Gerais da Lista */
.btn-play-row {
    background: #ff5000; color: white; padding: 5px 10px; border-radius: 4px;
    font-weight: bold; font-size: 11px; cursor: pointer; border: none;
    transition: background 0.2s; display: inline-flex; align-items: center;
    justify-content: center; gap: 5px; min-width: 80px;
}

.btn-play-row:hover { background: #ff6520; }

.btn-download-row {
    background: #1a1a1a; color: #aaa; border: 1px solid #444;
    padding: 5px 10px; border-radius: 4px; font-size: 11px; text-decoration: none;
    transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
}

.btn-download-row:hover { background: #2a2a2a; border-color: #ff5000; color: #fff; }

.btn-back-link {
    display: inline-block; color: #888; text-decoration: none;
    margin-bottom: 5px; font-size: 12px; transition: color 0.2s;
}

.btn-back-link:hover { color: #ff5000; }

/* --- 3. DATATABLES (LISTA PRINCIPAL) --- */
table.dataTable { width: 100% !important; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
table.dataTable.no-footer { border-bottom: none; }
.dataTables_filter { display: none !important; }

table.dataTable thead th {
    background-color: #2a1a10; padding: 18px 10px; font-size: 14px;
    text-transform: uppercase; color: #ff9045; border-bottom: 2px solid #ff5000;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

table.dataTable tbody tr.data-row { background-color: rgba(255, 255, 255, 0.03); transition: background 0.2s; }
table.dataTable tbody tr.data-row:hover { background-color: rgba(255, 80, 0, 0.15); }
table.dataTable tbody td {
    padding: 15px 10px; vertical-align: middle; border-bottom: 1px solid #333;
    color: #ddd; font-size: 14px; overflow: hidden;
}

/* Colunas Específicas */
.cmd-cell { min-width: 120px; }
.cmd-primary { font-size: 16px; font-weight: bold; color: #fff; margin-bottom: 6px; word-break: break-word; line-height: 1.3; }
.cmd-aliases { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.alias-tag { display: inline-block; font-size: 10px; background: #333; color: #ccc; padding: 2px 6px; border-radius: 3px; border: 1px solid #555; white-space: nowrap; }
.cmd-link { text-decoration: none; display: block; }
.cmd-link:hover .cmd-primary { color: #ff5000; }

.mobile-stats-summary { display: none !important; }

.dataTables_wrapper { overflow-x: auto; }
.dataTables_length select { background-color: #1a1a1a !important; color: #fff !important; border: 1px solid #ff5000 !important; border-radius: 4px; padding: 5px 10px; }
.dataTables_length label, .dataTables_info { color: #888 !important; }
.dataTables_paginate { margin-top: 15px; }

.dataTables_paginate .paginate_button {
    padding: 8px 12px !important; margin: 0 2px;
    background: #2a1a10 !important; border: 1px solid #ff5000 !important;
    color: #ff9045 !important; border-radius: 4px;
}

.dataTables_paginate .paginate_button:hover, .dataTables_paginate .paginate_button.current {
    background: #ff5000 !important; color: #fff !important;
}

/* --- 4. DASHBOARD (SOUNDINFO.PHP) --- */
.info-card {
    background: rgba(0, 0, 0, 0.4); border: 1px solid #333; border-radius: 8px;
    padding: 20px; display: flex; flex-direction: column;
}

.card-title {
    color: #ff5000; font-size: 18px; margin-bottom: 15px;
    border-bottom: 1px solid #333; padding-bottom: 10px; margin-top: 0;
}

.info-top-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.title-card h1 { margin: 10px 0 5px 0; font-size: 32px; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

.rating-card { align-items: center; justify-content: center; text-align: center; }
.rating-card h3 { margin: 0 0 10px 0; font-size: 14px; color: #ff9045; }
.rating-box-large { font-size: 32px; margin-bottom: 10px; }
.rating-avg { font-size: 12px; color: #888; }

.fav-card { align-items: center; justify-content: center; text-align: center; }
.fav-big-wrapper {
    cursor: pointer; background: rgba(0,0,0,0.4); border: 1px solid #444;
    padding: 8px 16px; border-radius: 20px; transition: all 0.1s ease;
    display: flex; align-items: center; gap: 8px; color: #fff;
}

.fav-big-wrapper:hover { border-color: #ff5000; }
.fav-big-wrapper.active { background-color: rgba(255, 100, 100, 0.2) !important; border: 3px solid #f05 !important; padding: 6px 14px !important; }
.fav-big-wrapper.active i, .fav-big-wrapper.active span { color: #f05 !important; font-weight: bold; }
.fav-big-wrapper i.active { color: #ff5000; }
.fav-big-wrapper span { font-size: 13px; font-weight: bold; }

.fav-names-list {
    display: block !important; min-height: 20px; color: #f05;
    margin-top: 15px; padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    text-align: center; width: 100%; font-size: 10px;
}

.fav-names-list strong { color: #fff; font-weight: normal; }

.info-body-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.body-left { display: flex; flex-direction: column; gap: 20px; }

.description-card { border-left: 4px solid #ff5000; min-height: 100px; justify-content: center; position: relative; }
.icon-quote { position: absolute; top: 10px; right: 15px; font-size: 24px; color: rgba(255,255,255,0.1); }
.description-card p { font-size: 15px; line-height: 1.6; color: #eee; margin: 0; }

.files-list-wrapper { display: flex; flex-direction: column; gap: 10px; }
.file-row-item {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(0,0,0,0.3); padding: 12px 15px;
    border-radius: 6px; border: 1px solid #222;
}

.file-name { font-weight: bold; color: #ccc; }
.file-actions { display: flex; gap: 10px; }

/* --- 5. COMENTÁRIOS (Estilo Facebook Compacto) --- */
.body-right { height: 100%; }

.info-card.comments-card {
    background: rgba(255, 80, 0, 0.05) !important;
    border: 1px solid rgba(255, 80, 0, 0.3) !important;
    height: 100%; min-height: 500px;
    display: flex; flex-direction: column;
}

.comments-list-large {
    flex: 1;
    overflow-y: auto;
    max-height: 600px;
    margin-bottom: 20px;
    padding-right: 10px;
    display: flex; flex-direction: column; gap: 8px;
}

.comments-list-large::-webkit-scrollbar { width: 6px; }
.comments-list-large::-webkit-scrollbar-track { background: #111; }
.comments-list-large::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

/* Comentário individual - ESTILO FACEBOOK COMPACTO */
.comment-item {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin-bottom: 4px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    position: relative;
}

.comment-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 30% !important;
    flex-shrink: 0 !important;
    border: 2px solid #ff5000 !important;
    object-fit: cover !important;
}

.comment-body {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.comment-bubble-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 4px !important;
}

.comment-bubble {
    background: #3a3b3c !important;
    border-radius: 18px !important;
    padding: 8px 12px !important;
    display: inline-block !important;
    max-width: calc(100% - 30px) !important;
}

.comment-header {
    display: inline !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    gap: 0 !important;
}

.comment-author {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #e4e6eb !important;
    margin-right: 6px !important;
}

.comment-time {
    font-size: 12px !important;
    color: #b0b3b8 !important;
}

.comment-text {
    font-size: 15px !important;
    color: #e4e6eb !important;
    line-height: 1.33 !important;
    margin-top: 2px !important;
}

.comment-edited {
    font-size: 12px !important;
    color: #b0b3b8 !important;
}

/* Ações do comentário */
.comment-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 2px !important;
    padding-left: 12px !important;
    font-size: 12px !important;
}

.comment-action-btn {
    background: none !important;
    border: none !important;
    color: #b0b3b8 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    padding: 0 !important;
}

.comment-action-btn:hover { color: #e4e6eb !important; text-decoration: underline !important; }
.comment-action-btn.liked { color: #ff5000 !important; }

.comment-like-count { color: #b0b3b8 !important; }

/* Menu de 3 pontinhos - colado ao balão */
.comment-menu-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: flex-start !important;
    margin-top: 4px !important;
}

.comment-menu-btn {
    background: none !important;
    border: none !important;
    color: #444 !important;
    cursor: pointer !important;
    padding: 4px 6px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    opacity: 0.4 !important;
    transition: 0.15s !important;
    line-height: 1 !important;
}

.comment-item:hover .comment-menu-btn { opacity: 0.7 !important; }
.comment-menu-btn:hover { background: rgba(255, 255, 255, 0.1) !important; color: #b0b3b8 !important; }

.comment-menu-dropdown {
    position: absolute !important;
    right: 0 !important;
    top: 100% !important;
    background: #242526 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.5) !important;
    min-width: 100px !important;
    z-index: 100 !important;
    display: none !important;
    overflow: hidden !important;
}

.comment-menu-dropdown.show { display: block !important; }

.comment-menu-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 8px 12px !important;
    background: none !important;
    border: none !important;
    color: #e4e6eb !important;
    font-size: 14px !important;
    text-align: left !important;
    cursor: pointer !important;
}

.comment-menu-item:hover { background: #3a3b3c !important; }
.comment-menu-item.danger { color: #f02849 !important; }

/* Respostas */
.replies-container {
    margin-left: 40px !important;
    margin-top: 4px !important;
}

.replies-container .comment-avatar {
    width: 24px !important;
    height: 24px !important;
}

.replies-container .comment-bubble { padding: 6px 10px !important; }
.replies-container .comment-author { font-size: 12px !important; }
.replies-container .comment-text { font-size: 14px !important; }
.replies-container .comment-time { font-size: 11px !important; }

/* Reply box inline */
.reply-box {
    display: none !important;
    gap: 8px !important;
    margin-top: 6px !important;
    margin-left: 40px !important;
    align-items: center !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.reply-box.show { display: flex !important; }

.reply-box textarea {
    flex: 1 !important;
    background: #3a3b3c !important;
    border: none !important;
    color: #e4e6eb !important;
    padding: 6px 12px !important;
    border-radius: 18px !important;
    resize: none !important;
    font-size: 13px !important;
    height: 32px !important;
    min-height: 32px !important;
}

.reply-box textarea:focus { outline: none !important; }

.reply-box button {
    background: none !important;
    color: #ff5000 !important;
    border: none !important;
    padding: 6px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* Classes antigas - mantidas para compatibilidade */
.user-info { display: flex; align-items: center; gap: 12px; }
.user-avatar { width: 32px; height: 32px; border-radius: 30%; object-fit: cover; border: 2px solid #ff5000; }
.user-meta { display: flex; flex-direction: column; }
.user-name { font-weight: bold; color: #ff9045; font-size: 0.95rem; }
.comment-date { font-size: 0.75rem; color: #888; }
.comment-actions-top { display: flex; gap: 5px; }

.comment-footer {
    display: none; /* Escondido - usando comment-actions agora */
}

.btn-icon {
    background: none; border: none;
    color: #666; cursor: pointer;
    font-size: 1rem; padding: 5px;
    transition: color 0.2s;
}

.btn-icon:hover { color: #fff; }
.delete-comment-btn:hover { color: #ff4444; }
.edit-comment-btn:hover { color: #44aaff; }

.like-btn {
    background: none; border: none;
    color: #888; cursor: pointer;
    display: flex; align-items: center; gap: 6px;
    font-size: 0.9rem; transition: all 0.2s;
}

.like-btn:hover { color: #fff; }
.like-btn.liked { color: #4caf50; }
.like-btn.text-orange { color: #ff5000; }

.edit-box {
    margin-top: 8px;
    display: none;
}

.edit-box.show {
    display: block;
}

.edit-box .edit-textarea {
    width: 100%;
    background: #2a2a2a;
    border: 1px solid #444;
    color: #e4e6eb;
    padding: 8px 12px;
    border-radius: 12px;
    resize: none;
    font-size: 14px;
    min-height: 60px;
    font-family: inherit;
}

.edit-box .edit-textarea:focus {
    outline: none;
    border-color: #ff5000;
}

.edit-box-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.edit-box-actions button {
    background: none;
    border: none;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.15s;
}

.edit-box-actions .btn-save {
    background: #ff5000;
    color: white;
}

.edit-box-actions .btn-save:hover {
    background: #ff6520;
}

.edit-box-actions .btn-cancel {
    color: #b0b3b8;
    border: 1px solid #444;
}

.edit-box-actions .btn-cancel:hover {
    background: #333;
    color: #fff;
}

.cmt-textarea {
    width: 100%; background: #111; border: 1px solid #444;
    color: #fff; padding: 8px; border-radius: 3px;
    min-height: 60px; resize: vertical;
    font-family: inherit; font-size: 13px;
}

.cmt-buttons-row { margin-top: 8px; display: flex; gap: 10px; }
.btn-save-small { background: #ff5000; color: white; border: none; padding: 4px 12px; border-radius: 3px; cursor: pointer; font-size: 11px; font-weight: bold; }
.btn-cancel-small { background: transparent; color: #aaa; border: 1px solid #444; padding: 4px 12px; border-radius: 3px; cursor: pointer; font-size: 11px; }

.comment-form-fixed {
    margin-top: auto;
    display: flex; flex-direction: column; gap: 10px;
    border-top: 1px solid #333; padding-top: 15px;
}

.comment-form-fixed textarea {
    background: #1a1a1a; border: 1px solid #333;
    color: #fff; padding: 12px 15px; border-radius: 8px;
    resize: vertical; min-height: 60px;
    font-family: inherit; font-size: 14px;
}

.comment-form-fixed textarea:focus {
    outline: none;
    border-color: #ff5000;
}

.comment-form-fixed button {
    background: #ff5000; color: white; border: none;
    padding: 12px 25px; border-radius: 6px; font-weight: bold;
    cursor: pointer; font-size: 14px; transition: 0.2s;
    align-self: flex-end;
}

.comment-form-fixed button:hover {
    background: #ff6520;
    transform: scale(1.02);
}

/* --- 6. UTILITÁRIOS --- */
.stars-display { color: #ffc107; font-size: 14px; }
.rating-interactive { color: #444 !important; transition: all 0.2s; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
.rating-interactive.selected, .rating-interactive.hovered { color: #ffc107 !important; transform: scale(1.1); }
.stars-display .stars-empty { color: #333 !important; }
.mobile-only { display: none !important; }
.desktop-only { display: table-cell !important; }
.text-center { text-align: center; }
.text-orange { color: #ff5000 !important; }

.fav-icon { color: #666; transition: color 0.2s ease; }
.fav-icon.community-fav { color: #fc8; }
.fav-icon.user-fav { color: #f05; filter: drop-shadow(0 0 2px rgba(255, 0, 85, 0.4)); }
.fav-wrapper { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }

.no-sounds-message {
    text-align: center; padding: 50px; background: rgba(0,0,0,0.3);
    border-radius: 10px; border: 1px dashed #444; margin-top: 20px;
}

.no-sounds-message i { font-size: 40px; color: #ff5000; margin-bottom: 15px; }
.no-sounds-message h3 { margin: 0; color: #fff; }
.no-sounds-message p { color: #888; }

/* --- 7. DEEP LINK HIGHLIGHT --- */
@keyframes highlightFade {
    0% { background-color: rgba(255, 80, 0, 0.2); border: 1px solid #ff5000; box-shadow: 0 0 15px rgba(255,80,0,0.2); }
    100% { background-color: rgba(0,0,0,0.2); border: 1px solid #333; box-shadow: none; }
}

.target-highlight {
    animation: highlightFade 3s ease-out forwards;
    scroll-margin-top: 100px;
}

/* --- 8. SONS SEARCH DROPDOWN (igual mapinfo) --- */
.sons-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.98);
    border: 2px solid #ff5000;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.9);
    z-index: 10002;
    display: none;
    max-height: 500px;
    overflow-y: auto;
}

.sons-search-dropdown.show { display: block; }

.sons-search-dropdown::-webkit-scrollbar { width: 8px; }
.sons-search-dropdown::-webkit-scrollbar-track { background: #1a1a1a; }
.sons-search-dropdown::-webkit-scrollbar-thumb { background: #ff5000; border-radius: 4px; }

.sons-search-results { padding: 10px; }

.sons-search-loading, .sons-search-empty {
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.sons-search-empty i {
    font-size: 32px;
    color: #444;
    display: block;
    margin-bottom: 10px;
}

.sons-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px;
    margin-bottom: 8px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s;
}

.sons-search-item:hover {
    background: #222;
    border-color: #ff5000;
    transform: translateX(5px);
}

.sons-search-item:last-child { margin-bottom: 0; }

/* Info à esquerda */
.sons-info {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sons-name {
    color: #ddd;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sons-search-item:hover .sons-name { color: #ff5000; }

/* Container dos botões de play à direita */
.sons-play-buttons {
    display: flex;
    flex-direction: row;
    gap: 5px;
    flex-shrink: 0;
    align-items: center;
}

.sons-play-btn {
    width: 28px;
    height: 28px;
    border-radius: 30%;
    background: #ff5000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    font-size: 10px;
    border: 1px solid #d14000;
    cursor: pointer;
}

.sons-play-btn:hover {
    background: #ff6520;
    color: white;
    transform: scale(1.1);
    border-color: #ff6520;
}

.sons-play-btn.playing {
    background: #ff6520;
    color: white;
    border-color: #ff6520;
}

.sons-play-btn i { margin-left: 1px; }

/* Botão + para mais variações */
.sons-more-btn {
    width: 28px;
    height: 28px;
    border-radius: 30%;
    background: #ff5000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #d14000;
    cursor: pointer;
    text-decoration: none;
}

.sons-more-btn:hover {
    background: #ff7020;
    transform: scale(1.1);
}

.sons-aliases { display: flex; flex-wrap: wrap; gap: 4px; }
.sons-alias-tag { background: #252525; color: #888; font-size: 10px; padding: 2px 6px; border-radius: 3px; border: 1px solid #333; white-space: nowrap; }

.sons-stats-compact {
    display: flex;
    gap: 15px;
    margin-top: 5px;
    font-size: 12px;
    color: #888;
}

.sons-stats-compact span { display: flex; align-items: center; gap: 5px; }
.sons-stats-compact i { font-size: 11px; }
.sons-stats-compact small { font-weight: 600; }

/* --- 10. RESPONSIVIDADE --- */
@media (max-width: 850px) {
    .container { padding: 15px; width: 95%; margin: 20px auto; }
    .info-top-grid { grid-template-columns: 1fr; gap: 15px; }
    .info-body-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
    .container { padding: 10px !important; width: 98% !important; margin: 0 auto 20px auto !important; border: none; box-shadow: none; }
    .section-header h2 { font-size: 18px; text-align: center; }

    table.dataTable thead { display: none !important; }
    table.dataTable tbody tr.data-row { display: flex !important; flex-direction: row; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; padding: 10px 5px !important; gap: 10px; }
    table.dataTable tbody td.cmd-cell { display: block !important; width: auto !important; flex: 1; border: none !important; padding: 0 !important; }
    
    .cmd-primary { font-size: 15px !important; margin-bottom: 4px; }
    .mobile-stats-summary { display: block !important; margin-top: 5px; color: #888; font-size: 11px; }
    table.dataTable tbody td:nth-child(5) { display: flex !important; width: auto !important; flex: 0 0 auto; border: none !important; padding: 0 !important; justify-content: flex-end; }
    
    .file-list { justify-content: flex-end; flex-direction: column; align-items: flex-end; gap: 5px; width: auto; }
    .btn-play-row { padding: 8px 12px; font-size: 12px; width: auto; margin: 0; }
    
    table.dataTable tbody td:nth-child(2),
    table.dataTable tbody td:nth-child(3),
    table.dataTable tbody td:nth-child(4) { display: none !important; }
}

@media (max-width: 768px) {
    .container, .container-fluid, div[class*="col-"] {
        width: 100% !important; max-width: 100% !important;
        flex: 0 0 100% !important; padding-left: 10px !important; padding-right: 10px !important;
    }
    .mx-auto { margin-left: 0 !important; margin-right: 0 !important; }
    .btn-group, .d-flex { flex-wrap: wrap; justify-content: flex-start !important; gap: 5px; }
    .btn-sm { padding: 0.25rem 0.5rem; font-size: 0.8rem; }
}