
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.high-contrast {
    background: #000 !important;
    color: #fff !important;
}
.high-contrast * {
    background: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}
.banner-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
.banner-slide.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.font-small { font-size: 0.875rem; }
.font-normal { font-size: 1rem; }
.font-large { font-size: 1.125rem; }
.font-xlarge { font-size: 1.25rem; }

/* Responsive improvements */
@media (max-width: 768px) {
    .container { padding-left: 1rem; padding-right: 1rem; }
    .banner-slide .flex { flex-direction: column; text-align: center; }
    .banner-slide .w-2\/3, .banner-slide .w-1\/3 { width: 100%; }
    .banner-slide h2 { font-size: 1.875rem; }
    .banner-slide p { font-size: 1rem; }
}

/* Smooth transitions */
* { transition: all 0.3s ease; }

/* Print styles */
        @media print {
            .no-print { display: none !important; }
            body { font-size: 12pt; line-height: 1.5; }
            .print-break { page-break-before: always; }
        }
        
/* Hover effects */
.hover-lift:hover { transform: translateY(-2px); }

/* Focus styles for accessibility */
button:focus, input:focus, select:focus, a:focus {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

/* Loading animation for forms */
.loading {
    position: relative;
    pointer-events: none;
}
.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3B82F6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.high-contrast { background: #000 !important; color: #fff !important; }
.high-contrast * { background: #000 !important; color: #fff !important; border-color: #fff !important; }

.tipo-edital { background: #3b82f6; color: white; }
.tipo-resultado { background: #10b981; color: white; }
.tipo-contrato { background: #8b5cf6; color: white; }
.tipo-aviso { background: #f59e0b; color: white; }
.tipo-ata { background: #ef4444; color: white; }

.modal-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .mobile-table { display: block; overflow-x: auto; white-space: nowrap; }
    .mobile-table table { min-width: 800px; }
    .modal-content { max-height: 95vh; margin: 1rem; }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.event-card {
            transition: all 0.3s ease;
            border-left: 4px solid #3b82f6;
        }
        
        .event-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }
        
        .event-card.reuniao { border-left-color: #3b82f6; }
        .event-card.audiencia { border-left-color: #10b981; }
        .event-card.sessao { border-left-color: #8b5cf6; }
        .event-card.workshop { border-left-color: #f59e0b; }
        .event-card.palestra { border-left-color: #ef4444; }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 1px;
            background: #e5e7eb;
            border: 1px solid #e5e7eb;
        }
        
        .calendar-day {
            background: white;
            min-height: 100px;
            padding: 8px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .calendar-day:hover {
            background: #f3f4f6;
        }
        
        .calendar-day.other-month {
            background: #f9fafb;
            color: #9ca3af;
        }
        
        .calendar-day.today {
            background: #dbeafe;
            border: 2px solid #3b82f6;
        }
        
        .calendar-day.has-events {
            background: #fef3c7;
        }
        
        .event-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 4px;
        }
        
        .event-dot.reuniao { background: #3b82f6; }
        .event-dot.audiencia { background: #10b981; }
        .event-dot.sessao { background: #8b5cf6; }
        .event-dot.workshop { background: #f59e0b; }
        .event-dot.palestra { background: #ef4444; }

        .filter-badge {
            display: inline-flex;
            align-items: center;
            padding: 4px 12px;
            background: #e5e7eb;
            border-radius: 20px;
            font-size: 12px;
            margin: 2px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .filter-badge.active {
            background: #3b82f6;
            color: white;
        }
        
        .filter-badge:hover {
            background: #d1d5db;
        }
        
        .filter-badge.active:hover {
            background: #1d4ed8;
        }

        .timeline-item {
            position: relative;
            padding-left: 30px;
            margin-bottom: 20px;
        }
        
        .timeline-item::before {
            content: '';
            position: absolute;
            left: 10px;
            top: 0;
            bottom: -20px;
            width: 2px;
            background: #e5e7eb;
        }
        
        .timeline-item::after {
            content: '';
            position: absolute;
            left: 6px;
            top: 8px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #3b82f6;
        }
        
        .timeline-item:last-child::before {
            display: none;
        }.status-badge {
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
        }
        
        .status-badge.confirmado {
            background: #dcfce7;
            color: #166534;
        }
        
        .status-badge.pendente {
            background: #fef3c7;
            color: #92400e;
        }
        
        .status-badge.cancelado {
            background: #fee2e2;
            color: #991b1b;
        }
        
        .status-badge.realizado {
            background: #e0e7ff;
            color: #3730a3;
        }
        
        .priority-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 8px;
        }
        
        .priority-indicator.alta { background: #ef4444; }
        .priority-indicator.media { background: #f59e0b; }
        .priority-indicator.baixa { background: #10b981; }
        
        .view-toggle {
            display: flex;
            background: #f3f4f6;
            border-radius: 8px;
            padding: 4px;
        }
        
        .view-toggle button {
            flex: 1;
            padding: 8px 16px;
            border: none;
            background: transparent;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .view-toggle button.active {
            background: white;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }
        
        /* Status badges */
        .status-aberta { @apply bg-green-100 text-green-800 border-green-200; }
        .status-em-andamento { @apply bg-blue-100 text-blue-800 border-blue-200; }
        .status-finalizada { @apply bg-gray-100 text-gray-800 border-gray-200; }
        .status-cancelada { @apply bg-red-100 text-red-800 border-red-200; }
        .status-suspensa { @apply bg-yellow-100 text-yellow-800 border-yellow-200; }
        .status-homologada { @apply bg-purple-100 text-purple-800 border-purple-200; }
        
        /* Modalidade badges */
        .modalidade-pregao { @apply bg-blue-50 text-blue-700 border-blue-200; }
        .modalidade-concorrencia { @apply bg-green-50 text-green-700 border-green-200; }
        .modalidade-tomada-precos { @apply bg-purple-50 text-purple-700 border-purple-200; }
        .modalidade-convite { @apply bg-orange-50 text-orange-700 border-orange-200; }
        .modalidade-dispensa { @apply bg-gray-50 text-gray-700 border-gray-200; }
        
        /* Animation for loading */
        .loading-skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }
        
        @keyframes loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        
        /* Hover effects */
        .card-hover:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        
        /* Custom scrollbar */
        .custom-scrollbar::-webkit-scrollbar {
            width: 6px;
        }
        .custom-scrollbar::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 3px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }

        /* Tab styles */
        .tab-active {
            @apply bg-blue-600 text-white border-blue-600;
        }
        .tab-inactive {
            @apply bg-white text-gray-700 border-gray-300 hover:bg-gray-50;
        }
        
        /* Document icons */
        .doc-pdf { color: #dc2626; }
        .doc-word { color: #2563eb; }
        .doc-excel { color: #16a34a; }
        .doc-zip { color: #7c3aed; }
    
        
        /* Progress bar */
        .progress-bar {
            background: linear-gradient(90deg, #10b981 0%, #10b981 var(--progress, 0%), #e5e7eb var(--progress, 0%), #e5e7eb 100%);
        }
        
        /* Notification styles */
        .notification {
            animation: slideIn 0.3s ease-out;
        }
        
        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        /* Modal styles */
        .modal {
            backdrop-filter: blur(4px);
        }
        
        /* Responsive table */
        @media (max-width: 768px) {
            .responsive-table {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
            }
        }
        
/* Base botão */
.btn {
  display: inline-block;
  font-weight: 500;
  border-radius: 0.375rem; /* rounded */
  text-decoration: none;
  outline: none;
  transition: background-color 0.2s ease;
  cursor: pointer;
  user-select: none;
}

/* Tamanhos */
.btn-sm {
  padding: 0.25rem 0.75rem; /* py-1 px-3 */
  font-size: 0.75rem; /* text-xs */
}

.btn-md {
  padding: 0.5rem 1rem; /* py-2 px-4 */
  font-size: 1rem; /* text-base */
}

.btn-lg {
  padding: 0.75rem 1.25rem; /* py-3 px-5 */
  font-size: 1.125rem; /* text-lg */
}

/* Cores e efeitos */

/* Azul (blue) */
.btn-primary,
.btn-blue {
  background-color: #3b82f6; /* blue-500 */
  color: white;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-blue:hover,
.btn-blue:focus {
  background-color: #2563eb; /* blue-600 */
  outline: none;
}

/* Verde (green) */
.btn-success,
.btn-green {
  background-color: #22c55e; /* green-500 */
  color: white;
}
.btn-success:hover,
.btn-success:focus,
.btn-green:hover,
.btn-green:focus {
  background-color: #16a34a; /* green-600 */
  outline: none;
}

/* Vermelho (red) */
.btn-danger,
.btn-red {
  background-color: #ef4444; /* red-500 */
  color: white;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-red:hover,
.btn-red:focus {
  background-color: #dc2626; /* red-600 */
  outline: none;
}

/* Amarelo (yellow) */
.btn-warning,
.btn-yellow {
  background-color: #facc15; /* yellow-400 */
  color: black;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-yellow:hover,
.btn-yellow:focus {
  background-color: #eab308; /* yellow-500 */
  outline: none;
}

/* Cinza escuro (gray dark) */
.btn-dark,
.btn-gray-dark {
  background-color: #1f2937; /* gray-800 */
  color: white;
}
.btn-dark:hover,
.btn-dark:focus,
.btn-gray-dark:hover,
.btn-gray-dark:focus {
  background-color: #111827; /* gray-900 */
  outline: none;
}

/* Cinza claro (gray light) */
.btn-light,
.btn-gray-light {
  background-color: #f3f4f6; /* gray-100 */
  color: black;
}
.btn-light:hover,
.btn-light:focus,
.btn-gray-light:hover,
.btn-gray-light:focus {
  background-color: #e5e7eb; /* gray-200 */
  outline: none;
}

/* Ciano (cyan) */
.btn-info,
.btn-cyan {
  background-color: #06b6d4; /* cyan-500 */
  color: white;
}
.btn-info:hover,
.btn-info:focus,
.btn-cyan:hover,
.btn-cyan:focus {
  background-color: #0891b2; /* cyan-600 */
  outline: none;
}
