 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Montserrat', sans-serif;
     background-color: white;
     display: flex;
     flex-direction: column;
     min-height: 100vh;
 }

 .page-header {
     background-color: #034ea2;
     color: white;
     padding: 24px 16px;
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
 }

 .header-container {
     max-width: 1152px;
     /* max-w-6xl */
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     align-items: center;
 }

 .header-content-wrapper {
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     gap: 16px;
     width: 100%;
 }

 .logo-section {
     display: flex;
     align-items: center;
     gap: 12px;
     flex-shrink: 0;
 }

 .logo-img {
     height: 36px;
     width: auto;
 }

 .logo-text {
     display: flex;
     flex-direction: column;
     font-size: 12px;
     line-height: 1.25;
     text-align: left;
 }

 .logo-text .bold {
     font-weight: 700;
 }

 .title-section {
     display: flex;
     flex-direction: column;
 }

 .page-title {
     font-size: 1.125rem;
     /* text-lg */
     font-weight: 700;
 }

 .page-subtitle {
     color: #dbeafe;
     /* blue-100 */
     font-size: 0.875rem;
     /* text-sm */
 }

 @media (min-width: 640px) {
     .header-container {
         flex-direction: row;
         justify-content: space-between;
     }

     .header-content-wrapper {
         flex-direction: row;
         align-items: flex-start;
         text-align: left;
         width: auto;
     }

     .logo-img {
         height: 44px;
     }

     .logo-text {
         font-size: 14px;
     }

     .title-section {
         border-left: 1px solid rgba(255, 255, 255, 0.2);
         padding-left: 24px;
     }

     .page-title {
         font-size: 1.25rem;
     }
 }

 @media (min-width: 1024px) {
     .page-title {
         font-size: 1.5rem;
         /* 2xl */
     }
 }


 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 40px 20px;
     flex: 1;
     width: 100%;
 }

 .filter-card {
     background: white;
     border-radius: 12px;
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
     padding: 24px;
     margin-bottom: 32px;
     border: 1px solid #e2e8f0;
 }

 .filter-header {
     display: flex;
     align-items: center;
     gap: 10px;
     margin-bottom: 24px;
 }

 .filter-icon {
     color: #034ea2;
     width: 20px;
     height: 20px;
 }

 .filter-header h2 {
     color: #1e293b;
     font-size: 1rem;
     font-weight: 600;
     margin: 0;
 }

 .filter-body {
     display: grid;
     grid-template-columns: 1fr;
     gap: 20px;
 }

 @media (min-width: 768px) {
     .filter-body {
         grid-template-columns: repeat(4, 1fr);
     }
 }

 .input-group {
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 .input-group label {
     font-size: 0.875rem;
     font-weight: 500;
     color: #000000;
 }

 /* Estilo unificado para Select e Input */
 .form-control {
    cursor: pointer;
     width: 100%;
     padding: 10px 12px;
     background-color: white;
     border: 1px solid #cbd5e1;
     border-radius: 6px;
     font-size: 0.875rem;
     color: #000000;
     font-family: inherit;
     outline: none;
     transition: all 0.2s ease;

     /* Remove estilo padrão feio do select em alguns browsers */
     appearance: none;
     -webkit-appearance: none;
     -moz-appearance: none;

     /* Recoloca a setinha do select customizada */
     background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
     background-position: right 0.5rem center;
     background-repeat: no-repeat;
     background-size: 1.5em 1.5em;
 }

 /* Ajuste específico para o input de texto (não precisa da seta) */
 input.form-control {
     background-image: none;
     cursor: auto;
 }

 /* Efeito de foco (borda azul) */
 .form-control:focus {
     border-color: #034ea2;
     box-shadow: 0 0 0 3px rgba(3, 78, 162, 0.1);
     /* Anel azul suave */
 }

 /* Events Grid */
 .events-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
     gap: 25px;
     margin-top: 30px;
 }

 .event-card {
     background: white;
     border-radius: 8px;
     overflow: hidden;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s,
         box-shadow 0.3s;
     cursor: pointer;
 }

 .event-card>a {
     text-decoration: none;
 }

 .event-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
 }

 .event-image {
     width: 100%;
     height: 180px;
     background: linear-gradient(135deg, #034ea2, #4a90e2);
     /* Ajustado */
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 3em;
     position: relative;
 }

 .event-status {
     position: absolute;
     top: 10px;
     right: 10px;
     padding: 5px 12px;
     border-radius: 20px;
     font-size: 11px;
     font-weight: 600;
     text-transform: uppercase;
 }

 .status-upcoming {
     background-color: #4CAF50;
 }

 .status-completed {
     background-color: #9E9E9E;
 }

 .event-content {
     padding: 20px;
 }

 .event-date {
     color: #034ea2;
     font-weight: 600;
     font-size: 14px;
     margin-bottom: 10px;
 }

 .event-title {
     font-size: 1.1em;
     font-weight: 600;
     color: #333;
     margin-bottom: 10px;
     line-height: 1.4;
 }

 .event-location {
     color: #666;
     font-size: 14px;
     margin-bottom: 8px;
 }

 .event-description {
     color: #777;
     font-size: 14px;
     line-height: 1.5;
     margin-bottom: 15px;
 }

 .event-footer {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding-top: 15px;
     border-top: 1px solid #eee;
 }

 .event-participants {
     font-size: 13px;
     color: #666;
 }

 .event-link {
     color: #034ea2;
     font-weight: 600;
     font-size: 14px;
     text-decoration: none;
 }

 .color-bar {
     display: grid;
     grid-template-columns: repeat(4, 1fr) 0.5fr;
     width: 100%;
 }

 .bar-segment {
     height: 12px;
 }

 .bar-yellow {
     background-color: #eab308;
 }

 .bar-red {
     background-color: #b91c1c;
 }

 .bar-green {
     background-color: #15803d;
 }

 .bar-blue {
     background-color: #1e40af;
 }

 /* Rodapé Principal */
 .main-footer {
     background-color: #1e40af;
     /* bg-blue-800 */
     color: white;
     font-size: 14px;
 }

 .footer-content {
     max-width: 1200px;
     /* container */
     margin: 0 auto;
     padding: 32px;
 }

 .footer-grid {
     display: flex;
     flex-direction: column;
     gap: 40px;
     align-items: center;
     justify-content: center;
     text-align: center;
 }

 /* Estilo para Telas Maiores (Grid) */
 @media (min-width: 640px) {
     .footer-grid {
         flex-direction: row;
         align-items: flex-start;
         justify-content: space-between;
         text-align: left;
     }
 }

 .footer-column {
     flex: 1;
 }

 .footer-logo {
     height: 96px;
     /* h-24 */
     width: auto;
 }

 .footer-heading {
     font-weight: 600;
     margin-bottom: 16px;
     font-size: 16px;
 }

 .footer-text {
     font-size: 0.875rem;
     /* text-sm */
     line-height: 1.5;
 }

 /* Redes Sociais */
 .social-links-col {
     display: flex;
     flex-direction: column;
     gap: 12px;
 }

 .social-item {
     display: flex;
     align-items: center;
     gap: 8px;
     text-decoration: none;
     color: white;
     font-size: 0.875rem;
     transition: color 0.2s;
 }

 .social-item svg {
     width: 20px;
     height: 20px;
     fill: currentColor;
 }

 .social-item:hover.twitter {
     color: #000000;
 }

 .social-item:hover.facebook {
     color: #3b82f6;
 }

 .social-item:hover.instagram {
     color: #ec4899;
 }

 .social-item:hover.youtube {
     color: #ef4444;
 }

 /* Copyright */
 .footer-bottom-bar {
     margin-top: 32px;
     padding-top: 32px;
     border-top: 1px solid #1d4ed8;
     /* border-blue-700 */
 }

 .copyright-container {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 16px;
     justify-content: space-between;
 }

 @media (min-width: 768px) {
     .copyright-container {
         flex-direction: row;
     }
 }

 .dev-by {
     display: flex;
     align-items: center;
     gap: 8px;
     font-size: 0.875rem;
 }

 .dev-logo {
     height: 40px;
 }


 .event-image {
     width: 100%;
     height: 180px;
     position: relative;
     overflow: hidden;
     /* Garante que a imagem não vaze as bordas arredondadas */
     background: #f0f0f0;
 }

 .card-img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center;
 }

 .event-location {
     color: #666;
     font-size: 14px;
     margin-bottom: 8px;
     display: flex;
     align-items: center;
     gap: 6px;
 }

 .location-icon {
     width: 16px;
     height: 16px;
     color: #034ea2;
     flex-shrink: 0;
 }