        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Variáveis CSS for themes */
        :root {
            --primary-color: #4f46e5;
            --primary-hover: #4338ca;
            --secondary-color: #6b7280;
            --success-color: #10b981;
            --danger-color: #ef4444;
            --warning-color: #f59e0b;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --bg-tertiary: #f1f5f9;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --border-color: #e2e8f0;
            --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
            --transition: all 0.2s ease;
            --border-radius: 8px;
            --border-radius-lg: 12px;
        }

        /* Tema escuro */
        [data-theme="dark"] {
            --bg-primary: #0f172a;
            --bg-secondary: #1e293b;
            --bg-tertiary: #334155;
            --text-primary: #f8fafc;
            --text-secondary: #cbd5e1;
            --border-color: #475569;
            --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.3);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
        }

        /* Estilos base */
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
            color: var(--text-primary);
            line-height: 1.6;
            min-height: 100vh;
            padding: 20px;
            transition: var(--transition);
        }

        /* Container principal */
        .container {
            max-width: 800px;
            margin: 0 auto;
            background: var(--bg-primary);
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-lg);
            overflow: hidden;
            transition: var(--transition);
        }

        /* Header */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px 32px;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
            color: white;
        }

        .header h1 {
            font-size: 1.875rem;
            font-weight: 700;
            margin: 0;
        }

        .header-actions {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .theme-toggle {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            border-radius: 50%;
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            backdrop-filter: blur(10px);
        }

        .theme-toggle:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.05);
        }

        .theme-icon {
            font-size: 1.25rem;
        }

        /* Gerenciamento de lista */
        .list-management {
            padding: 24px 32px;
            background: var(--bg-secondary);
            border-bottom: 1px solid var(--border-color);
        }

        .list-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .current-list {
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        .list-actions {
            display: flex;
            gap: 8px;
        }

        .btn-sm {
            padding: 6px 12px;
            font-size: 0.75rem;
            border-radius: 6px;
        }

        /* Form */
        .input-form {
            padding: 32px;
            border-bottom: 1px solid var(--border-color);
        }

        .input-group {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            margin-bottom: 24px;
        }

        .input-field {
            display: flex;
            flex-direction: column;
        }

        .input-field label {
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--text-secondary);
            margin-bottom: 6px;
        }

        input, select {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid var(--border-color);
            border-radius: var(--border-radius);
            background: var(--bg-primary);
            color: var(--text-primary);
            font-size: 1rem;
            transition: var(--transition);
        }

        input:focus, select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 24px;
            border: none;
            border-radius: var(--border-radius);
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            min-height: 44px;
        }

        .btn-primary {
            background: var(--primary-color);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-hover);
            transform: translateY(-1px);
        }

        .btn-secondary {
            background: var(--bg-tertiary);
            color: var(--text-primary);
            border: 1px solid var(--border-color);
        }
        
        .header-buttons {
            background: var(--bg-tertiary);
            color: var(--text-primary);
            border: 1px solid var(--border-color);
        }

        .btn-secondary:hover {
            background: var(--border-color);
        }

        .btn-danger {
            background: var(--danger-color);
            color: white;
        }

        .btn-danger:hover {
            background: #dc2626;
        }

        .btn-export {
            background: var(--success-color);
            color: white;
            flex: 1;
        }

        .btn-export:hover {
            background: #059669;
        }

        #addButton {
            width: 100%;
            font-size: 1rem;
            padding: 16px;
        }

        /* Statistics */
        .stats-bar {
            display: flex;
            justify-content: space-around;
            padding: 24px 32px;
            background: var(--bg-secondary);
            border-bottom: 1px solid var(--border-color);
        }

        .stat-item {
            text-align: center;
        }

        .stat-label {
            display: block;
            font-size: 0.875rem;
            color: var(--text-secondary);
            margin-bottom: 4px;
        }

        .stat-value {
            display: block;
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--primary-color);
        }

        /* Filters */
        .filter-section {
            padding: 24px 32px;
            border-bottom: 1px solid var(--border-color);
        }

        .filter-buttons {
            display: flex;
            gap: 8px;
            justify-content: center;
        }

        .filter-btn {
            padding: 8px 16px;
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            font-size: 0.875rem;
            cursor: pointer;
            transition: var(--transition);
            color: var(--text-secondary);
        }

        .filter-btn:hover,
        .filter-btn.active {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }

        /* Item list */
        .list-container {
            min-height: 300px;
            position: relative;
        }

        .item-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .item-list li {
            display: flex;
            align-items: center;
            padding: 16px 32px;
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
            gap: 12px;
        }

        .item-list li:hover {
            background: var(--bg-secondary);
        }

        .item-list li.completed {
            opacity: 0.6;
        }

        .item-list li.completed .item-text {
            text-decoration: line-through;
        }

        .item-checkbox {
            width: 20px;
            height: 20px;
            cursor: pointer;
        }

        .item-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .item-text {
            font-weight: 500;
            font-size: 1rem;
        }

        .item-details {
            font-size: 0.875rem;
            color: var(--text-secondary);
        }

        .item-price {
            font-weight: 600;
            color: var(--success-color);
            font-size: 1rem;
        }

        .item-actions {
            display: flex;
            gap: 8px;
        }

        .item-btn {
            padding: 8px;
            background: transparent;
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: var(--transition);
            font-size: 1rem;
        }

        .item-btn:hover {
            background: var(--bg-tertiary);
        }

        .edit-btn:hover {
            border-color: var(--warning-color);
            color: var(--warning-color);
        }

        .delete-btn:hover {
            border-color: var(--danger-color);
            color: var(--danger-color);
        }

        /* Empty state */
        .empty-state {
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 64px 32px;
            text-align: center;
        }

        .empty-state.show {
            display: flex;
        }

        .empty-icon {
            font-size: 4rem;
            margin-bottom: 16px;
            opacity: 0.5;
        }

        .empty-state h3 {
            font-size: 1.5rem;
            margin-bottom: 8px;
            color: var(--text-primary);
        }

        .empty-state p {
            color: var(--text-secondary);
        }

        /* Action buttons */
        .action-buttons {
            padding: 32px;
            background: var(--bg-secondary);
        }

        .button-group {
            display: flex;
            gap: 16px;
            margin-bottom: 32px;
        }

        .button-group .btn {
            flex: 1;
        }

        .export-buttons h3 {
            font-size: 1.125rem;
            margin-bottom: 16px;
            text-align: center;
            color: var(--text-primary);
        }

        .export-group {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 12px;
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            backdrop-filter: blur(4px);
        }

        .modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            background: var(--bg-primary);
            padding: 32px;
            border-radius: var(--border-radius-lg);
            max-width: 500px;
            width: 90%;
            text-align: center;
            box-shadow: var(--shadow-lg);
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-content h3 {
            margin-bottom: 16px;
            color: var(--text-primary);
        }

        .modal-content p {
            margin-bottom: 24px;
            color: var(--text-secondary);
        }

        .modal-buttons {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .modal-buttons .btn {
            min-width: 100px;
        }

        /* History list */
        .history-list {
            max-height: 400px;
            overflow-y: auto;
            margin: 16px 0;
        }

        .history-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px;
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            margin-bottom: 8px;
            background: var(--bg-secondary);
        }

        .history-info {
            flex: 1;
            text-align: left;
        }

        .history-name {
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: 4px;
        }

        .history-details {
            font-size: 0.75rem;
            color: var(--text-secondary);
        }

        .history-actions {
            display: flex;
            gap: 8px;
        }

        .history-actions .btn {
            padding: 4px 8px;
            font-size: 0.75rem;
        }

        /* New list form */
        .new-list-form {
            text-align: left;
            margin: 16px 0;
        }

        .new-list-form input {
            margin-bottom: 16px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            body {
                padding: 12px;
            }

            .header {
                padding: 20px 24px;
            }

            .header h1 {
                font-size: 1.5rem;
            }

            .header-actions {
                gap: 8px;
            }

            .list-management {
                padding: 20px 24px;
            }

            .list-info {
                flex-direction: column;
                gap: 12px;
                align-items: flex-start;
            }

            .input-form {
                padding: 24px;
            }

            .input-group {
                grid-template-columns: 1fr;
            }

            .stats-bar {
                flex-direction: column;
                gap: 16px;
                padding: 20px 24px;
            }

            .filter-buttons {
                flex-wrap: wrap;
            }

            .item-list li {
                padding: 12px 24px;
                flex-wrap: wrap;
                gap: 8px;
            }

            .item-content {
                min-width: 200px;
            }

            .action-buttons {
                padding: 24px;
            }

            .button-group {
                flex-direction: column;
            }

            .export-group {
                grid-template-columns: 1fr;
            }

            .history-item {
                flex-direction: column;
                gap: 12px;
                align-items: flex-start;
            }

            .history-actions {
                width: 100%;
                justify-content: space-between;
            }
        }

        @media (max-width: 480px) {
            .header {
                padding: 16px 20px;
            }

            .header h1 {
                font-size: 1.25rem;
            }

            .input-form, .stats-bar, .filter-section, .action-buttons, .list-management {
                padding: 20px;
            }

            .item-list li {
                padding: 10px 20px;
            }

            .modal-content {
                padding: 24px;
                margin: 20px;
            }
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .item-list li {
            animation: fadeIn 0.3s ease;
        }

        /* Accessibility improvements */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* Focus states for keyboard navigation */
        .btn:focus-visible,
        input:focus-visible,
        select:focus-visible {
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-secondary);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--border-color);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--text-secondary);
        }

        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }

        .toast {
            animation: slideIn 0.3s ease;
        }

        .modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

#accessModal .modal-content,
#feedbackForm .modal-content,
#testerList .modal-content {
  max-width: 400px;
}
        #accessModal .modal-content h3,
        #feedbackForm .modal-content h3,
        #testerList .modal-content h3 {
            font-size: 1.25rem;
            margin-bottom: 16px;
            color: var(--text-primary);
        }

        #accessModal .modal-content p,
        #feedbackForm .modal-content p,
        #testerList .modal-content p {
            color: var(--text-secondary);
            margin-bottom: 24px;
        }

        #accessModal .modal-buttons,
        #feedbackForm .modal-buttons,
        #testerList .modal-buttons {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
        }
        /* Estilos para comparação de listas */
        .modal-large {
            max-width: 900px;
            width: 95%;
        }

        .compare-selection {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin: 20px 0;
        }

        .compare-field {
            display: flex;
            flex-direction: column;
        }

        .compare-field label {
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--text-secondary);
            margin-bottom: 6px;
        }

        .compare-select {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid var(--border-color);
            border-radius: var(--border-radius);
            background: var(--bg-primary);
            color: var(--text-primary);
            font-size: 1rem;
            transition: var(--transition);
        }

        .compare-select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
        }

        .compare-results {
            margin: 20px 0;
            padding: 20px;
            background: var(--bg-secondary);
            border-radius: var(--border-radius);
            min-height: 200px;
            max-height: 400px;
            overflow-y: auto;
        }

        .compare-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            margin-bottom: 20px;
        }

        .summary-card {
            background: var(--bg-primary);
            padding: 16px;
            border-radius: var(--border-radius);
            text-align: center;
            border: 1px solid var(--border-color);
        }

        .summary-card h4 {
            font-size: 0.875rem;
            color: var(--text-secondary);
            margin-bottom: 8px;
        }

        .summary-card .value {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--primary-color);
        }

        .compare-section {
            margin-bottom: 24px;
        }

        .compare-section h4 {
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--border-color);
        }

        .compare-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px;
            background: var(--bg-primary);
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            margin-bottom: 8px;
        }

        .compare-item-info {
            flex: 1;
        }

        .compare-item-name {
            font-weight: 500;
            color: var(--text-primary);
        }

        .compare-item-details {
            font-size: 0.875rem;
            color: var(--text-secondary);
        }

        .compare-item-values {
            display: flex;
            gap: 16px;
            align-items: center;
        }

        .compare-value {
            text-align: center;
            min-width: 80px;
        }

        .compare-value-label {
            font-size: 0.75rem;
            color: var(--text-secondary);
            display: block;
        }

        .compare-value-amount {
            font-weight: 600;
            color: var(--text-primary);
        }

        .compare-difference {
            font-weight: 600;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.875rem;
        }

        .difference-positive {
            background: rgba(239, 68, 68, 0.1);
            color: var(--danger-color);
        }

        .difference-negative {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success-color);
        }

        .difference-neutral {
            background: var(--bg-tertiary);
            color: var(--text-secondary);
        }

        /* Responsividade para comparação */
        @media (max-width: 768px) {
            .compare-selection {
                grid-template-columns: 1fr;
            }

            .compare-summary {
                grid-template-columns: 1fr;
            }

            .compare-item {
                flex-direction: column;
                gap: 12px;
                align-items: flex-start;
            }

            .compare-item-values {
                width: 100%;
                justify-content: space-between;
            }
        }


        /* Estilos para exibição de preços nos itens */
        .item-prices {
            margin-top: 8px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .price-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.875rem;
        }

        .price-label {
            font-weight: 500;
            color: var(--text-secondary);
            min-width: 60px;
        }

        .price-value {
            font-weight: 600;
            color: var(--success-color);
        }

        .price-unit {
            font-size: 0.75rem;
            color: var(--text-secondary);
            font-style: italic;
        }

        /* Responsividade para preços */
        @media (max-width: 480px) {
            .price-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 2px;
            }
            
            .price-label {
                min-width: auto;
            }
        }

        /* Footer */
        .footer {
            text-align: center;
            padding: 16px;
            background: var(--bg-secondary);
            color: 2;
            font-size: 0.875rem;
            border-top: 1px solid var(--border-color);
            margin-top: 20px;
            transition: var(--transition);
            font-style: italic;
        }

        /* Sobre a Aplicação */
        .about {
            padding: 24px;
            background: var(--bg-primary);
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-lg);
            margin-top: 20px;
        }
        .about h2 {
            font-size: 1.5rem;
            margin-bottom: 16px;
            color: var(--text-primary);
        }
        .about p {
            font-size: 1rem;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 16px;
        }
        .about a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
        }
        .about a:hover {
            text-decoration: underline;
        }


        /* Como Usar a Aplicação */
        .how-to-use {
            padding: 24px;
            background: var(--bg-primary);
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-lg);
            margin-top: 20px;
        }
        .how-to-use h2 {
            font-size: 1.5rem;
            margin-bottom: 16px;
            color: var(--text-primary);
        }
        .how-to-use ol {
            padding-left: 20px;
            color: var(--text-secondary);
            font-size: 1rem;
            line-height: 1.6;
        }
        .how-to-use li {
            margin-bottom: 12px;
        }

        /*Recursos da Aplicação */
        .features {
            padding: 24px;
            background: var(--bg-primary);
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-lg);
            margin-top: 20px;
        }
        .features h2 {
            font-size: 1.5rem;
            margin-bottom: 16px;
            color: var(--text-primary);
        }
        .features ul {
            list-style-type: disc;
            padding-left: 20px;
            color: var(--text-secondary);
            font-size: 1rem;
            line-height: 1.6;
        }
        .features li {
            margin-bottom: 12px;
        }
        /* Contato */
        .contact {
            padding: 24px;
            background: var(--bg-primary);
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-lg);
            margin-top: 20px;
        } 
        .contact h2 {
            font-size: 1.5rem;
            margin-bottom: 16px;
            color: var(--text-primary);
        }



        /* Versão da Aplicação */
        .version {
             padding: 24px;
            background: var(--bg-primary);
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-lg);
            margin-top: 20px;
        }
        .version h2 {
            font-size: 1.5rem;
            margin-bottom: 16px;
            color: var(--text-primary);
        }
        .version p {
            font-size: 1rem;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 16px;
        }
        .version a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
        }
        .version a:hover {
            text-decoration: underline;
        }
        /* Estilos para o rodapé */
        .footer {
            text-align: center;
            padding: 16px;
            background: var(--bg-secondary);
            color: var(--text-secondary);
            font-size: 0.875rem;
            border-top: 1px solid var(--border-color);
            margin-top: 20px;
            transition: var(--transition);
        }
        .footer a {
            color: var(--primary-color);
            text-decoration: strong #10b981;
            font-weight: 500;
        }
        /* Responsividade geral */
        @media (max-width: 768px) {
            body {
                padding: 16px;
            }
            .container {
                padding: 16px;
            }
            .header {
                flex-direction: column;
                align-items: flex-start;
                padding: 16px;
            }
            .header h1 {
                font-size: 1.5rem;
            }
            .header-actions {
                margin-top: 12px;
            }
        }
        /* Responsividade para Sobre e Como Usar */
        @media (max-width: 768px) {
            .about, .how-to-use {
                padding: 16px;
            }
            .about h2, .how-to-use h2 {
                font-size: 1.25rem;
            }
            .about p, .how-to-use ol {
                font-size: 0.875rem;
            }
        }



/* Estilos para configurações */
.config-content {
    text-align: left;
    max-height: 500px;
    overflow-y: auto;
}

.config-section {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-secondary);
}

.config-section h4 {
    margin: 0 0 12px 0;
    color: var(--primary-color);
    font-size: 1rem;
}

.custom-categories {
    max-height: 200px;
    overflow-y: auto;
    margin: 12px 0;
}

.add-category-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.add-category-form input {
    flex: 1;
    min-width: 120px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.add-category-form button {
    padding: 8px 16px;
    white-space: nowrap;
}

.modal-large {
    max-width: 600px;
    width: 95%;
}

.compare-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}

.compare-field {
    display: flex;
    flex-direction: column;
}

.compare-field label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.compare-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.compare-results {
    margin: 20px 0;
    max-height: 400px;
    overflow-y: auto;
}

/* Responsividade para configurações */
@media (max-width: 768px) {
    .add-category-form {
        flex-direction: column;
    }
    
    .add-category-form input {
        min-width: auto;
    }
    
    .compare-selection {
        grid-template-columns: 1fr;
    }
    
    .modal-large {
        width: 98%;
    }
}

/* Estilos para botões do header */
.header-actions .btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.header-actions .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}



/* Estilos específicos para versao.html - Cards Layout */
.version-page .about,
.version-page .how-to-use,
.version-page .features,
.version-page .version {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    margin: 20px 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.version-page .about:hover,
.version-page .how-to-use:hover,
.version-page .features:hover,
.version-page .version:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.version-page .about h2,
.version-page .how-to-use h2,
.version-page .features h2,
.version-page .version h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}

.version-page .about p,
.version-page .how-to-use p,
.version-page .features p,
.version-page .version p {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.version-page .how-to-use ol {
    padding-left: 20px;
    color: var(--text-primary);
}

.version-page .how-to-use ol li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.version-page .features ul,
.version-page .version ul {
    padding-left: 20px;
    color: var(--text-primary);
}

.version-page .features ul li,
.version-page .version ul li {
    margin-bottom: 6px;
    line-height: 1.5;
}

.version-page .features ul li::marker {
    color: var(--primary-color);
}

.version-page .version ul li::marker {
    color: var(--success-color);
}

/* Card específico para Green Monster Project */
.version-page .features:last-of-type {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
    border: none;
}

.version-page .features:last-of-type h2 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.version-page .features:last-of-type p {
    color: rgba(255, 255, 255, 0.9);
}

.version-page .features:last-of-type a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.version-page .features:last-of-type a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsivo para cards */
@media (max-width: 768px) {
    .version-page .about,
    .version-page .how-to-use,
    .version-page .features,
    .version-page .version {
        margin: 16px 20px;
        padding: 20px;
    }
    
    .version-page .about h2,
    .version-page .how-to-use h2,
    .version-page .features h2,
    .version-page .version h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .version-page .about,
    .version-page .how-to-use,
    .version-page .features,
    .version-page .version {
        margin: 12px 16px;
        padding: 16px;
    }
}
