/* Estilos específicos para a página de Licenças */

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.header-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-content h1 i {
    color: #1e40af;
}

.header-content p {
    color: #6b7280;
    margin: 0;
    font-size: 14px;
}

.header-actions {
    display: flex;
    gap: 12px;
}

/* Filtros */
.filters-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filters-row {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 200px;
}

.filter-group label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group input,
.filter-group select {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.filter-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

/* Estatísticas */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.stat-icon.available {
    background: linear-gradient(135deg, #059669, #10b981);
}

.stat-icon.in-use {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.stat-icon.expired {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Tabela */
.table-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.table-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.table-actions {
    display: flex;
    gap: 8px;
}

.table-container {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background: #f3f4f6;
    padding: 15px 12px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e5e7eb;
}

.table td {
    padding: 15px 12px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    color: #1f2937;
}

.table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Cores alternadas para linhas (zebra striping) */
.table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table tbody tr:nth-child(odd) {
    background-color: transparent;
}

.table tbody tr:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.table tbody tr:not(:last-child) td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

/* Hover diferente para linhas pares e ímpares */
.table tbody tr:nth-child(even):hover {
    background: rgba(30, 58, 138, 0.15) !important;
    transform: scale(1.001);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.table tbody tr:nth-child(odd):hover {
    background: rgba(59, 130, 246, 0.12) !important;
    transform: scale(1.001);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Modo escuro */
body[data-theme="dark"] .table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .table tbody tr:nth-child(even):hover {
    background: rgba(59, 130, 246, 0.2) !important;
}

body[data-theme="dark"] .table tbody tr:nth-child(odd):hover {
    background: rgba(96, 165, 250, 0.18) !important;
}

.table tbody tr.loading {
    text-align: center;
    color: #6b7280;
}

.table tbody tr.loading td {
    padding: 40px;
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-disponivel {
    background: #dcfce7;
    color: #166534;
}

.status-em_uso {
    background: #fef3c7;
    color: #92400e;
}

.status-esgotada {
    background: #fee2e2;
    color: #991b1b;
}

.status-expirada {
    background: #f3f4f6;
    color: #6b7280;
}

/* Status de Expiração de Licença por Equipamento */
.status-expirando {
    background: #fee2e2;
    color: #991b1b;
}

.status-aviso {
    background: #fef3c7;
    color: #92400e;
}

.detail-value.expired {
    color: #dc2626;
    font-weight: 600;
}

.detail-value.expiring-soon {
    color: #dc2626;
    font-weight: 500;
}

.detail-value.expiring-warning {
    color: #d97706;
    font-weight: 500;
}

/* Chave da Licença */
.license-key {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 4px;
    color: #6b7280;
    letter-spacing: 1px;
}

.license-key.visible {
    color: #1f2937;
    background: #e5e7eb;
}

/* Ações */
.action-buttons {
    display: flex;
    gap: 6px;
}

.btn-action {
    padding: 6px 10px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-view {
    background: #dbeafe;
    color: #1e40af;
}

.btn-view:hover {
    background: #bfdbfe;
}

.btn-edit {
    background: #fef3c7;
    color: #d97706;
}

.btn-edit:hover {
    background: #fde68a;
}

.btn-associate {
    background: #dcfce7;
    color: #166534;
}

.btn-associate:hover {
    background: #bbf7d0;
}

.btn-delete {
    background: #fee2e2;
    color: #dc2626;
}

.btn-delete:hover {
    background: #fecaca;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

.modal-content.large {
    max-width: 800px;
}

.modal-header {
    background: #f8fafc;
    padding: 20px 25px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #6b7280;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.modal-body {
    padding: 25px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    background: #f8fafc;
    padding: 20px 25px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Formulário */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #1f2937;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-help {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

/* Input com toggle de senha */
.input-with-toggle {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #374151;
}

/* Informações da licença */
.license-info {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #1e40af;
}

.license-info h4 {
    margin: 0 0 8px 0;
    color: #1f2937;
    font-size: 16px;
}

.license-info p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

/* Lista de equipamentos */
.equipment-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.equipment-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.equipment-item:hover {
    background: #f9fafb;
}

.equipment-item.selected {
    background: #dbeafe;
    border-color: #1e40af;
}

.equipment-item:last-child {
    border-bottom: none;
}

.equipment-info {
    flex: 1;
}

.equipment-name {
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 4px;
}

.equipment-details {
    font-size: 12px;
    color: #6b7280;
}

.equipment-status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.equipment-status.available {
    background: #dcfce7;
    color: #166534;
}

.equipment-status.associated {
    background: #fef3c7;
    color: #92400e;
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.pagination-btn {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.pagination-btn.active {
    background: #1e40af;
    color: white;
    border-color: #1e40af;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Animações */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Detalhes da Licença */
.license-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.detail-section {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #1e40af;
}

.detail-section.full-width {
    grid-column: 1 / -1;
}

.detail-section h4 {
    margin: 0 0 15px 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item label {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.detail-item span {
    color: #1f2937;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .filters-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .filter-actions {
        margin-left: 0;
        width: 100%;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .table-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 24px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .table th,
    .table td {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 4px;
    }
    
    .btn-action {
        padding: 4px 8px;
        font-size: 11px;
    }
}

/* Estilos para equipamentos detalhados */
.equipment-item.detailed {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    background: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.equipment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E5E7EB;
}

.equipment-title h5 {
    margin: 0;
    color: #1F2937;
    font-size: 18px;
    font-weight: 600;
}

.equipment-title h5 i {
    color: #1E3A8A;
    margin-right: 8px;
}

.equipment-id {
    font-size: 12px;
    color: #6B7280;
    background: #F3F4F6;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
}

.equipment-status {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.equipment-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.equipment-details-grid .detail-section {
    background: #F9FAFB;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #1E3A8A;
}

.equipment-details-grid .detail-section h6 {
    margin: 0 0 12px 0;
    color: #1E3A8A;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.equipment-details-grid .detail-section h6 i {
    color: #1E3A8A;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #E5E7EB;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: #374151;
    font-size: 13px;
}

.detail-value {
    color: #6B7280;
    font-size: 13px;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.equipment-observations {
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.equipment-observations h6 {
    margin: 0 0 10px 0;
    color: #92400E;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.equipment-observations h6 i {
    color: #F59E0B;
}

.equipment-observations p {
    margin: 5px 0;
    font-size: 13px;
    color: #92400E;
}

.equipment-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid #E5E7EB;
}

.no-data {
    text-align: center;
    padding: 40px 20px;
    color: #6B7280;
}

.no-data i {
    font-size: 48px;
    color: #D1D5DB;
    margin-bottom: 15px;
}

.no-data p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* ====== DARK MODE - Licenças ====== */
body[data-theme="dark"] .page-header {
    border-bottom-color: #3a3939 !important;
}

body[data-theme="dark"] .header-content h1 {
    color: var(--page-h1-cor, #8a8b8b) !important;
}

body[data-theme="dark"] .header-content p {
    color: var(--page-p-color, #ddd9d9) !important;
}

body[data-theme="dark"] .filters-section {
    background: var(--filtro-fundo, rgb(26, 25, 25)) !important;
}

body[data-theme="dark"] .filter-group label {
    color: var(--color-label-filtro, #e9e9e9) !important;
}

body[data-theme="dark"] .stat-card {
    background: var(--fundo-stat-card, rgb(26, 25, 25)) !important;
}

body[data-theme="dark"] .stat-number {
    color: var(--color-stat-number, #c9c9c9) !important;
}

body[data-theme="dark"] .stat-label {
    color: var(--color-stat-content, #e2e2e2) !important;
}

body[data-theme="dark"] .table-section {
    background: var(--fundo-tabela, rgb(26, 25, 25)) !important;
}

body[data-theme="dark"] .table-header {
    background: var(--fundo-tabela-th, rgb(29, 28, 28)) !important;
    border-bottom-color: #3a3939 !important;
}

body[data-theme="dark"] .table-header h3 {
    color: var(--tabela-th-cor, #ffffff) !important;
}

body[data-theme="dark"] .table th {
    background: var(--fundo-tabela-th, rgb(29, 28, 28)) !important;
    color: var(--tabela-th-cor, #ffffff) !important;
    border-bottom-color: #3a3939 !important;
}

body[data-theme="dark"] .table td {
    color: var(--tabela-color-td, #e4e4e4) !important;
    border-bottom-color: #2a2929 !important;
}

body[data-theme="dark"] .table tbody tr:hover {
    background: var(--tabela-cursor-fundo, #000000e0) !important;
}

body[data-theme="dark"] .license-key {
    background: #2a2929 !important;
    color: #aaaaaa !important;
}

body[data-theme="dark"] .license-key.visible {
    background: #3a3939 !important;
    color: #e4e4e4 !important;
}

body[data-theme="dark"] .modal-content {
    background: var(--fundo-modal-content, rgb(36, 35, 35)) !important;
}

body[data-theme="dark"] .modal-header {
    background: var(--fundo--modal-header, rgb(50, 49, 49)) !important;
    border-bottom-color: #3a3939 !important;
}

body[data-theme="dark"] .modal-header h3 {
    color: var(--color-modal-h3, #dfdfdf) !important;
}

body[data-theme="dark"] .modal-footer {
    background: var(--fundo--modal-header, rgb(50, 49, 49)) !important;
    border-top-color: #3a3939 !important;
}

body[data-theme="dark"] .form-group label {
    color: var(--color-stat-content, #e2e2e2) !important;
}

body[data-theme="dark"] .form-help {
    color: #888888 !important;
}

body[data-theme="dark"] .toggle-password {
    color: #888888 !important;
}

body[data-theme="dark"] .toggle-password:hover {
    color: #e4e4e4 !important;
}

body[data-theme="dark"] .license-info {
    background: #0c2340 !important;
    border-left-color: #3b82f6 !important;
}

body[data-theme="dark"] .license-info h4 {
    color: #93c5fd !important;
}

body[data-theme="dark"] .license-info p {
    color: #aaaaaa !important;
}

body[data-theme="dark"] .equipment-list {
    border-color: #3a3939 !important;
}

body[data-theme="dark"] .equipment-item {
    border-bottom-color: #2a2929 !important;
}

body[data-theme="dark"] .equipment-item:hover {
    background: #000000e0 !important;
}

body[data-theme="dark"] .equipment-item.selected {
    background: #0c2340 !important;
    border-color: #1e40af !important;
}

body[data-theme="dark"] .equipment-name {
    color: #e4e4e4 !important;
}

body[data-theme="dark"] .equipment-details {
    color: #aaaaaa !important;
}

body[data-theme="dark"] .pagination {
    background: var(--fundo-tabela, rgb(26, 25, 25)) !important;
    border-top-color: #3a3939 !important;
}

body[data-theme="dark"] .pagination-btn {
    background: #1e1d1d !important;
    color: #e4e4e4 !important;
    border-color: #3a3939 !important;
}

body[data-theme="dark"] .pagination-btn:hover:not(:disabled) {
    background: #000000e0 !important;
    border-color: #806902 !important;
}

body[data-theme="dark"] .pagination-btn.active {
    background: #1e40af !important;
    color: white !important;
}

body[data-theme="dark"] .detail-section {
    background: #1e1d1d !important;
}

body[data-theme="dark"] .detail-section h4 {
    color: #e4e4e4 !important;
}

body[data-theme="dark"] .detail-item {
    border-bottom-color: #3a3939 !important;
}

body[data-theme="dark"] .detail-item label {
    color: #cccccc !important;
}

body[data-theme="dark"] .detail-item span {
    color: #e4e4e4 !important;
}

body[data-theme="dark"] .equipment-item.detailed {
    background: #1e1d1d !important;
    border-color: #3a3939 !important;
}

body[data-theme="dark"] .equipment-header {
    border-bottom-color: #3a3939 !important;
}

body[data-theme="dark"] .equipment-title h5 {
    color: #e4e4e4 !important;
}

body[data-theme="dark"] .equipment-id {
    background: #2a2929 !important;
    color: #aaaaaa !important;
}

body[data-theme="dark"] .equipment-details-grid .detail-section {
    background: #1e1d1d !important;
}

body[data-theme="dark"] .detail-label {
    color: #cccccc !important;
}

body[data-theme="dark"] .detail-value {
    color: #aaaaaa !important;
}

body[data-theme="dark"] .detail-row {
    border-bottom-color: #3a3939 !important;
}

body[data-theme="dark"] .no-data {
    color: #888888 !important;
}

body[data-theme="dark"] .no-data i {
    color: #3a3939 !important;
}

body[data-theme="dark"] .btn-view {
    background: #0c2340 !important;
    color: #93c5fd !important;
}

body[data-theme="dark"] .btn-edit {
    background: #2d1f0c !important;
    color: #fbbf24 !important;
}

body[data-theme="dark"] .btn-associate {
    background: #0c2d18 !important;
    color: #6ee7b7 !important;
}

body[data-theme="dark"] .btn-delete {
    background: #2d0c0c !important;
    color: #fca5a5 !important;
}

/* Responsive para equipamentos detalhados */
@media (max-width: 768px) {
    .equipment-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .equipment-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .detail-value {
        text-align: left;
        max-width: 100%;
    }
}
