/* Reset e Estilos Globais */
:root {
    --sidebar-width: 240px;
    --sidebar-collapsed-width: 56px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #2c3e50;
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section h1 {
    margin-bottom: 0.5rem;
}

.logo-section p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.db-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.db-selector label {
    font-size: 0.9rem;
    font-weight: 500;
}

.db-selector select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    color: #333;
    font-size: 0.9rem;
    min-width: 180px;
}

.db-selector select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Seletor de Fazenda */
.header-fazenda {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fazenda-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: white;
}

.fazenda-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.fazenda-nome {
    font-weight: bold;
    color: #ecf0f1;
}

/* Indicador Online/Offline */
.sync-status-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.85rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 500;
    color: white;
    white-space: nowrap;
    transition: background-color 0.4s ease;
}

.sync-status-badge.is-online {
    background-color: rgba(39, 174, 96, 0.25);
}

.sync-status-badge.is-offline {
    background-color: rgba(231, 76, 60, 0.35);
}

.sync-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background-color 0.4s ease;
}

.sync-status-badge.is-online .sync-status-dot {
    background-color: #2ecc71;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.35);
}

.sync-status-badge.is-offline .sync-status-dot {
    background-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.35);
}

.btn-trocar {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.3s;
}

.btn-trocar:hover {
    background-color: #c0392b;
}

/* Modal de Seleção de Banco */
.db-selection {
    margin-bottom: 1.5rem;
}

.db-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.db-option:hover {
    background-color: #f8f9fa;
}

.db-option.selected {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

.db-info h4 {
    margin: 0 0 0.25rem 0;
    color: #333;
}

.db-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.db-actions {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    text-align: center;
}

.custom-db {
    margin-bottom: 1rem;
}

.custom-db label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.custom-db input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.custom-db input:focus {
    outline: none;
    border-color: #3498db;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    margin: 0;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.modal-close:hover {
    background-color: #eee;
    color: #333;
}

.modal-body {
    padding: 1rem;
}

.fazenda-list {
    max-height: 300px;
    overflow-y: auto;
}

.fazenda-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.fazenda-item:hover {
    background-color: #f8f9fa;
}

.fazenda-item.selected {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

.fazenda-info-modal h4 {
    margin: 0 0 0.25rem 0;
    color: #333;
}

.fazenda-info-modal p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.modal-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.btn-confirmar {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.btn-confirmar:hover {
    background-color: #229954;
}

.btn-confirmar:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

/* ================================================================
   SIDEBAR
   ================================================================ */
.lic-banner {
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.3;
}
.lic-aviso {
    background: #fff3cd;
    color: #664d03;
}
.lic-erro {
    background: #f8d7da;
    color: #58151c;
}
.sidebar {
    position: fixed;
    left: 0;
    top: var(--header-height, 80px);
    width: var(--sidebar-width);
    height: calc(100vh - var(--header-height, 80px));
    background-color: #2c3e50;
    display: flex;
    flex-direction: column;
    z-index: 900;
    overflow-y: auto;
    overflow-x: hidden;
    transition: width 0.25s ease;
    box-shadow: 2px 0 8px rgba(0,0,0,0.18);
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

/* Push page content to the right of the sidebar */
body.has-sidebar main,
body.has-sidebar footer {
    margin-left: var(--sidebar-width);
    transition: margin-left 0.25s ease;
}

body.has-sidebar.sidebar-collapsed main,
body.has-sidebar.sidebar-collapsed footer {
    margin-left: var(--sidebar-collapsed-width);
}

/* Collapse toggle button */
.sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.sidebar-toggle button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.65);
    cursor: pointer;
    font-size: 1.15rem;
    padding: 0.3rem 0.4rem;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    line-height: 1;
}

.sidebar-toggle button:hover {
    color: white;
    background: rgba(255,255,255,0.12);
}

/* Início home link */
.sidebar-home {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-home:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}

.sidebar-home.active {
    background: rgba(52,152,219,0.2);
    border-left: 3px solid #3498db;
    padding-left: calc(1rem - 3px);
    color: #5dade2;
}

/* Nav inside sidebar: reset inherited nav styles */
.sidebar nav {
    background: none;
    box-shadow: none;
    padding: 0;
    flex: 1;
}

/* Group container */
.sidebar-group {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Group header button */
.sidebar-group-toggle {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.7rem 1rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
}

.sidebar-group-toggle:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}

.sidebar-group.active > .sidebar-group-toggle {
    color: white;
    border-left: 3px solid #3498db;
    padding-left: calc(1rem - 3px);
    background: rgba(255,255,255,0.06);
}

.sidebar-group-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-group-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-group-arrow {
    font-size: 0.65rem;
    transition: transform 0.2s;
    flex-shrink: 0;
    opacity: 0.5;
}

.sidebar-group.open > .sidebar-group-toggle .sidebar-group-arrow {
    transform: rotate(180deg);
}

/* Group items */
.sidebar-group-items {
    display: none;
    background: rgba(0,0,0,0.18);
}

.sidebar-group.open > .sidebar-group-items {
    display: block;
}

.sidebar-group-items a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem 0.55rem 1.6rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-group-items a:hover {
    background: rgba(255,255,255,0.07);
    color: white;
}

.sidebar-item-icon {
    flex: none;
    font-size: 0.95em;
}

.sidebar-group-items a.active {
    background: rgba(52,152,219,0.22);
    color: #5dade2;
    border-left: 3px solid #3498db;
    padding-left: calc(1.6rem - 3px);
}

/* Collapsed state: hide text */
.sidebar.collapsed .sidebar-group-label,
.sidebar.collapsed .sidebar-group-arrow,
.sidebar.collapsed .sidebar-group-items,
.sidebar.collapsed .sidebar-home > :not(.sidebar-group-icon) {
    display: none;
}

.sidebar.collapsed .sidebar-group-toggle {
    justify-content: center;
    padding: 0.7rem;
}

.sidebar.collapsed .sidebar-home {
    justify-content: center;
    padding: 0.85rem;
}

.sidebar.collapsed .sidebar-group-icon {
    width: auto;
    font-size: 1.15rem;
}

/* ================================================================
   COMMAND PALETTE (Ctrl+K)
   ================================================================ */
.cmd-palette-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    backdrop-filter: blur(3px);
}

.cmd-palette-overlay.open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8vh;
}

.cmd-palette {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    overflow: hidden;
}

.cmd-palette-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eee;
}

.cmd-palette-icon { color: #999; font-size: 1.1rem; }

.cmd-palette-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.05rem;
    color: #333;
    background: transparent;
}

.cmd-palette-hint {
    font-size: 0.75rem;
    color: #bbb;
    white-space: nowrap;
}

.cmd-palette-results {
    max-height: 420px;
    overflow-y: auto;
}

.cmd-palette-section-label {
    padding: 0.5rem 1.25rem 0.2rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #aaa;
    font-weight: 600;
}

.cmd-palette-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    cursor: pointer;
    transition: background 0.1s;
    text-decoration: none;
    color: #333;
}

.cmd-palette-item:hover,
.cmd-palette-item.focused {
    background: #eef3ff;
}

.cmd-palette-item-icon {
    width: 28px;
    height: 28px;
    background: #f0f1f3;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.cmd-palette-item-text { flex: 1; min-width: 0; }

.cmd-palette-item-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.cmd-palette-item-group {
    font-size: 0.75rem;
    color: #999;
}

.cmd-palette-empty {
    padding: 2rem;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* Ctrl+K button inside header */
.cmd-shortcut-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.7rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.cmd-shortcut-btn:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

.cmd-shortcut-btn kbd {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
    padding: 0.1rem 0.3rem;
    font-size: 0.72rem;
    font-family: monospace;
}

/* ================================================================
   RECENT PAGES WIDGET (homepage)
   ================================================================ */
.recent-pages {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    border-left: 4px solid #3498db;
}

.recent-pages h3 {
    color: #2c3e50;
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recent-pages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.recent-page-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    background: #f0f4ff;
    border: 1px solid #d0d9f0;
    border-radius: 20px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.83rem;
    transition: all 0.18s;
}

.recent-page-tag:hover {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

/* Main Content */
main {
    padding: 2rem 0;
    min-height: calc(100vh - 300px);
}

/* Cards do Dashboard */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.card .number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
    margin: 1rem 0;
}

/* Info Section */
.info-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.info-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.info-section ul {
    list-style: none;
    padding-left: 0;
}

.info-section ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.info-section ul li:last-child {
    border-bottom: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
}

.btn:hover {
    background-color: #2980b9;
}

.btn-primary {
    background-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #95a5a6;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.btn-danger {
    background-color: #e74c3c;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-small {
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    margin: 0 0.2rem;
}

.btn-success {
    background-color: #27ae60;
}

.btn-success:hover {
    background-color: #229954;
}

.btn-info {
    background-color: #17a2b8;
}

.btn-info:hover {
    background-color: #138496;
}

.section-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Header Section */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.header-section h2 {
    color: #2c3e50;
}

/* Form Section */
.form-section {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.form-group {
    margin-bottom: 0.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

/* Radio buttons styling */
.form-group .radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.form-group .radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.2s ease;
}

.form-group .radio-label:hover {
    border-color: #3498db;
    background-color: #f8f9fa;
}

.form-group .radio-label input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
}

.form-group .radio-label input[type="radio"]:checked + span {
    font-weight: 600;
    color: #2c3e50;
}

.form-group .radio-label:has(input[type="radio"]:checked) {
    border-color: #3498db;
    background-color: #e3f2fd;
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.form-message {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-message.show {
    opacity: 1;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Table Section */
.table-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background-color: white;
    color: black;
}

table th,
table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

table tbody tr:hover {
    background-color: #f8f9fa;
}

table tbody tr.loading {
    text-align: center;
    color: #7f8c8d;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .db-selector {
        width: 100%;
    }

    .db-selector select {
        width: 100%;
        min-width: auto;
    }

    /* Sidebar collapses on mobile */
    .sidebar {
        width: var(--sidebar-collapsed-width);
    }

    body.has-sidebar main,
    body.has-sidebar footer {
        margin-left: var(--sidebar-collapsed-width);
    }

    .sidebar-group-label,
    .sidebar-group-arrow,
    .sidebar-group-items,
    .sidebar-home > :not(.sidebar-group-icon) {
        display: none;
    }

    .sidebar-group-toggle {
        justify-content: center;
        padding: 0.7rem;
    }

    .sidebar-home {
        justify-content: center;
        padding: 0.85rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    table {
        font-size: 0.9rem;
    }

    table th,
    table td {
        padding: 0.5rem;
    }
}

/* Estilos para Atualização de Categorias */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-card p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.info-card ul {
    margin-left: 1rem;
    margin-top: 0.5rem;
}

.info-card li {
    margin-bottom: 0.3rem;
}

.action-section {
    text-align: center;
    margin: 2rem 0;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    min-width: 300px;
}

.result-section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #27ae60;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    border: 1px solid #e9ecef;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 0.5rem;
    text-align: center;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.log-section {
    margin-top: 1rem;
}

.log-section h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.log-list {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 1rem;
    margin: 0;
    list-style: none;
    border-left: 3px solid #3498db;
}

.log-list li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}

.log-list li:last-child {
    border-bottom: none;
}

.loading {
    text-align: center;
    padding: 3rem 0;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Responsividade para categorias */
@media (max-width: 768px) {
    .info-section {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-large {
        min-width: auto;
        width: 100%;
    }
}

/* Estilos específicos para Relatórios */
.filter-section {
    margin-bottom: 2rem;
}

.filter-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-controls {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

.report-links {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.report-link {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.results-section {
    margin-top: 2rem;
}

.table-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.counter {
    background: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #6c757d;
}

.table-container {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 600px;
}

.categorias-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.category-tag {
    background: #007bff;
    color: white;
    padding: 0.125rem 0.375rem;
    border-radius: 12px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.no-category {
    color: #6c757d;
    font-style: italic;
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.ativo {
    background: #d4edda;
    color: #155724;
}

.status-badge.inativo {
    background: #f8d7da;
    color: #721c24;
}

.previsao-parto {
    color: #28a745;
    font-weight: 500;
    font-size: 0.8rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.loading {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mensagem-temporaria {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem;
    border-radius: 4px;
    color: white;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.mensagem-success {
    background: #28a745;
}

.mensagem-error {
    background: #dc3545;
}

.mensagem-warning {
    background: #ffc107;
    color: #333;
}

.mensagem-info {
    background: #17a2b8;
}

.mensagem-temporaria button {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos específicos para Relatório de Verificação de Idades */
.verification-table {
    font-size: 0.9rem;
}

.verification-table th {
    background: #f8f9fa;
    font-weight: 600;
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-bottom: 2px solid #dee2e6;
}

.verification-table td {
    padding: 0.6rem 0.5rem;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
}

.row-with-problems {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.row-with-problems:hover {
    background-color: #ffeaa7;
}

.sexo-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.sexo-badge.fêmea {
    background: #fce4ec;
    color: #ad1457;
}

.sexo-badge.macho {
    background: #e3f2fd;
    color: #1565c0;
}

.sexo-badge.indeterminado {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* Badge genérico */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-secondary {
    background: #e2e3e5;
    color: #383d41;
}

.badge-primary {
    background: #cce5ff;
    color: #004085;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

.idade-meses {
    font-weight: 600;
    text-align: center;
    color: #495057;
}

.categoria-tag {
    background: #007bff;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.observacoes-cell {
    max-width: 200px;
}

.observacao-item {
    display: inline-block;
    background: #dc3545;
    color: white;
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    font-size: 0.7rem;
    margin: 0.1rem;
    white-space: nowrap;
}

.sem-observacoes {
    color: #28a745;
    font-weight: 500;
    font-size: 0.8rem;
}

.table-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.counter.problems {
    background: #dc3545;
    color: white;
}

.stat-card.partos-distribuicao {
    grid-column: span 2; /* Ocupa duas colunas para ter mais espaço */
}

.partos-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.partos-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: 1px solid #e9ecef;
}

.partos-item:last-child {
    border-bottom: none;
}

.partos-label {
    font-size: 0.85rem;
    color: #495057;
    font-weight: 500;
}

.partos-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #007bff;
    margin-left: auto;
}

.partos-percentage {
    font-size: 0.8rem;
    color: #6c757d;
    margin-left: 0.5rem;
}

.stat-card.idades-distribuicao {
    grid-column: span 2; /* Ocupa duas colunas para ter mais espaço */
}

.idades-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.idades-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: 1px solid #e9ecef;
}

.idades-item:last-child {
    border-bottom: none;
}

.idades-label {
    font-size: 0.85rem;
    color: #495057;
    font-weight: 500;
}

.idades-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #28a745;
    margin-left: auto;
}

.idades-percentage {
    font-size: 0.8rem;
    color: #6c757d;
    margin-left: 0.5rem;
}

.stat-card.prenhez-distribuicao {
    grid-column: span 2; /* Ocupa duas colunas para ter mais espaço */
}

.prenhez-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.prenhez-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: 1px solid #e9ecef;
}

.prenhez-item:last-child {
    border-bottom: none;
}

.prenhez-label {
    font-size: 0.85rem;
    color: #495057;
    font-weight: 500;
}

.prenhez-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #007bff;
    margin-left: auto;
}

.prenhez-percentage {
    font-size: 0.8rem;
    color: #6c757d;
    margin-left: 0.5rem;
}

.stat-card.matrizes-consolidado {
    grid-column: span 2; /* Ocupa duas colunas para ter mais espaço */
}

.matrizes-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.matrizes-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: 1px solid #e9ecef;
}

.matrizes-item:last-child {
    border-bottom: none;
}

.matrizes-label {
    font-size: 0.85rem;
    color: #495057;
    font-weight: 500;
}

.matrizes-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #007bff;
    margin-left: auto;
}

.matrizes-percentage {
    font-size: 0.8rem;
    color: #6c757d;
    margin-left: 0.5rem;
}

/* Estilos específicos para Workflow */
.workflow-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.workflow-section h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.workflow-section p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Estilos para barra de progresso */
.progress-section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #f39c12;
}

.progress-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.progress-container {
    margin: 1rem 0;
}

.progress-bar {
    width: 100%;
    height: 25px;
    background-color: #ecf0f1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 12px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    text-align: center;
    font-weight: 500;
    color: #2c3e50;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.progress-log {
    margin-top: 1rem;
    max-height: 200px;
    overflow-y: auto;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 0.5rem;
}

.log-item {
    padding: 0.25rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.85rem;
    color: #495057;
    font-family: 'Courier New', monospace;
}

.log-item:last-child {
    border-bottom: none;
}

/* Estilos para Estatísticas de Animais por Categoria */
.stats-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.stats-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.stats-table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.stats-table thead {
    background-color: white;
    color: black;
}

.stats-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #2c3e50;
}

.stats-table td {
    padding: 1rem;
    border-bottom: 1px solid #ecf0f1;
    text-align: left;
}

.stats-table tbody tr:hover {
    background-color: #f8f9fa;
}

.stats-table tbody tr.loading {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
}

.stats-table tbody tr.error {
    background-color: #f8d7da;
    color: #721c24;
}

.stats-table .loading,
.stats-table .error {
    text-align: center;
    padding: 2rem;
    font-size: 1.1rem;
}

/* Estilos específicos para Cards de Manejos */
.manejo-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e9ecef;
}

.manejo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.manejo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.manejo-card-tipo {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.manejo-card-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.manejo-card-id {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.manejo-card-descricao-tipo {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.manejo-card-periodo {
    color: #3498db;
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.manejo-card-descricao {
    color: #495057;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 0.9rem;
}

.manejo-card-id {
    font-weight: 600;
    color: #007bff;
}

.manejo-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Status classes */
.status-previsto {
    background: #fff3cd;
    color: #856404;
}

.status-andamento {
    background: #cce5ff;
    color: #004085;
}

.status-finalizado {
    background: #d4edda;
    color: #155724;
}

.status-cancelado {
    background: #f8d7da;
    color: #721c24;
}

.status-desconhecido {
    background: #e2e3e5;
    color: #383d41;
}

/* Container de cards */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Estilos para filtros de categoria avançados */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.categoria-option {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.categoria-option:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.categoria-checkboxes-container {
    display: flex;
    gap: 0.5rem;
    margin-right: 0.75rem;
}

.categoria-checkbox-wrapper {
    position: relative;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.categoria-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    background: white;
    position: relative;
    transition: all 0.2s ease;
    cursor: pointer;
}

.categoria-checkbox-include {
    border-color: #007bff;
}

.categoria-checkbox-include.checked {
    background: #007bff;
    border-color: #007bff;
}

.categoria-checkbox-include.checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.categoria-checkbox-exclude {
    border-color: #dc3545;
}

.categoria-checkbox-exclude.checked {
    background: #dc3545;
    border-color: #dc3545;
}

.categoria-checkbox-exclude.checked::after {
    content: '✗';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.categoria-option label {
    flex: 1;
    cursor: pointer;
    font-weight: 500;
    color: #495057;
    margin: 0;
}

/* Estilos para painel de informações do animal na leitura */
.info-animal-leitura {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    display: none;
}

.info-animal-leitura.show {
    display: block;
}

.info-animal-header {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.info-animal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.info-animal-item {
    display: flex;
    flex-direction: column;
}

.info-animal-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.info-animal-value {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 600;
}

.info-animal-categorias {
    margin-top: 1rem;
}

.info-animal-categorias h4 {
    font-size: 0.9rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.categoria-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.categoria-item:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
}

.categoria-item:last-child {
    margin-bottom: 0;
}

.categoria-nome {
    font-weight: 500;
    color: #495057;
    font-size: 0.85rem;
}

.categoria-data {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 400;
}

/* Responsividade para painel de informações */
@media (max-width: 768px) {
    .info-animal-grid {
        grid-template-columns: 1fr;
    }
    
    .info-animal-leitura {
        padding: 0.75rem;
    }
}

/* Estilos para Modal de Categorias */
.categorias-section {
    margin-bottom: 1.5rem;
}

.categorias-section h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1rem;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

.categorias-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.5rem;
}

.categoria-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.categoria-item:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.categoria-item:last-child {
    margin-bottom: 0;
}

.categoria-nome {
    font-weight: 500;
    color: #495057;
    font-size: 0.9rem;
}

.categoria-data {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 400;
    margin-left: 0.5rem;
}

/* Estilos para Autocomplete/Sugestões */
.autocomplete-container {
    position: relative;
    width: 100%;
}

.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.autocomplete-suggestions.show {
    display: block;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background-color: #f8f9fa;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-marca {
    font-weight: 500;
    color: #2c3e50;
}

.autocomplete-info {
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
}

.autocomplete-no-results {
    padding: 1rem;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

.autocomplete-loading {
    padding: 1rem;
    text-align: center;
    color: #6c757d;
}

.autocomplete-spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}
