.theme-btn {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9999;
  background: var(--cor-principal, #00bfff);
  color: var(--text-primary, #fff);
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 191, 255, 0.5);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 191, 255, 0.4);
}

.theme-btn:active {
  transform: translateY(0);
}

.theme-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.theme-modal[style*="display: flex"] {
  opacity: 1;
  visibility: visible;
}

.theme-modal-content {
  background: var(--bg-primary, #181a20);
  color: var(--text-primary, #fff);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  padding: 0;
  min-width: 500px;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  border: 1px solid var(--cor-principal, #00bfff);
}

.theme-modal[style*="display: flex"] .theme-modal-content {
  transform: scale(1) translateY(0);
}

.theme-header {
  background: linear-gradient(135deg, var(--cor-principal, #00bfff), var(--cor-principal, #00bfff)dd);
  padding: 24px 32px;
  border-radius: 20px 20px 0 0;
  text-align: center;
  color: #fff;
}

.theme-header h2 {
  margin: 0 0 8px 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.theme-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}

.theme-grid {
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.theme-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-section h3 {
  margin: 0 0 20px 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary, #00bfff);
  display: flex;
  align-items: center;
  gap: 8px;
}

.color-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.color-label {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.color-label:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cor-principal, #00bfff);
}

.color-label span {
  flex: 1;
  font-weight: 500;
  color: var(--text-primary, #fff);
}

.color-label input[type="color"] {
  width: 60px;
  height: 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: none;
}

.color-preview {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.color-group small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-left: 16px;
}

.theme-actions {
  padding: 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-primary {
  background: var(--cor-principal, #00bfff);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 191, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary, #fff);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Barra de busca + filtros */
#search-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(12, 18, 30, .8);
  border: 1px solid rgba(0, 191, 255, .5);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

#search-input:focus {
  outline: none;
  border-color: #00e6ff;
  box-shadow: 0 0 15px rgba(0, 191, 255, .35);
}

#toggle-filtros,
#view-eventos,
#view-calendario {
  border-radius: 10px;
  border: 2px solid rgba(0, 191, 255, .6);
  background: rgba(0, 191, 255, .15);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  transition: all .2s ease;
}

#toggle-filtros:hover,
#view-eventos:hover,
#view-calendario:hover {
  background: rgba(0, 191, 255, .35);
  border-color: #00e6ff;
}

#filtros-container {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(20, 30, 45, 0.9);
  border: 1px solid rgba(0, 191, 255, 0.35);
  border-radius: 14px;
  align-items: flex-end;
}

#filtros-container > div {
  min-width: 170px;
}

#filtros-container input,
#filtros-container select {
  width: 100%;
  box-sizing: border-box;
}

.filtro-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(153, 230, 255, 0.45);
  border-radius: 8px;
  background: rgba(25, 35, 50, 0.9);
  color: #fff;
}

.filtro-select:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 191, 255, .25);
}

.btn-limpar {
  padding: 10px 16px;
  background: #0a1f30;
  border: 1px solid rgba(0, 191, 255, .5);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.btn-limpar:hover {
  background: rgba(0, 191, 255, .2);
}

.evento-calendario-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  background: rgba(20, 25, 40, 0.85);
  border: 1px solid rgba(0, 191, 255, 0.35);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.evento-calendario-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.evento-calendario-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.evento-calendario-info h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #00e6ff;
}

.evento-calendario-info p {
  margin: 2px 0;
  color: #ddd;
  font-size: 0.9rem;
}

.favorito-btn, .btn-interesse, .btn-calendario-fav {
  border: 1px solid rgba(23, 255, 132, 0.7);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.favorito-btn.demonstrou-interesse,
.btn-interesse.demonstrou-interesse,
.btn-calendario-fav.demonstrou-interesse {
  background: var(--cor-principal, #00bfff);
  color: #000;
  border-color: #ffd700;
}

/* Notificações */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  border-radius: 12px;
  color: #fff;
  font-weight: 500;
  z-index: 1001;
  animation: slideIn 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.notification-success {
  background: linear-gradient(135deg, #4CAF50, #45a049);
}

.notification-info {
  background: linear-gradient(135deg, #2196F3, #1976D2);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsividade */
@media (max-width: 600px) {
  .theme-modal-content {
    min-width: 90vw;
    margin: 20px;
  }

  .theme-grid {
    padding: 20px;
    gap: 20px;
  }

  .theme-section {
    padding: 16px;
  }

  .color-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .theme-actions {
    flex-direction: column;
    gap: 8px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
/ *   E s t i l o s   p a r a   a   p � g i n a   d e   d e t a l h e s   d o   e v e n t o   * / 
 . e v e n t o - d e t a l h e s - c o n t a i n e r   { 
         m a x - w i d t h :   1 2 0 0 p x ; 
         m a r g i n :   0   a u t o ; 
         p a d d i n g :   2 0 p x ; 
         b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ,   # 1 a 1 a 1 a ) ; 
         b o r d e r - r a d i u s :   1 2 p x ; 
         b o x - s h a d o w :   0   8 p x   3 2 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 3 ) ; 
 } 
 
 . e v e n t o - h e a d e r   { 
         d i s p l a y :   f l e x ; 
         g a p :   3 0 p x ; 
         m a r g i n - b o t t o m :   3 0 p x ; 
         f l e x - w r a p :   w r a p ; 
 } 
 
 . e v e n t o - i m a g e m - p r i n c i p a l   { 
         w i d t h :   1 0 0 % ; 
         m a x - w i d t h :   4 0 0 p x ; 
         h e i g h t :   2 5 0 p x ; 
         o b j e c t - f i t :   c o v e r ; 
         b o r d e r - r a d i u s :   1 2 p x ; 
         b o x - s h a d o w :   0   4 p x   1 6 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 3 ) ; 
 } 
 
 . e v e n t o - i n f o - p r i n c i p a l   { 
         f l e x :   1 ; 
         m i n - w i d t h :   3 0 0 p x ; 
 } 
 
 . e v e n t o - i n f o - p r i n c i p a l   h 1   { 
         c o l o r :   v a r ( - - t e x t - p r i m a r y ,   # f f f ) ; 
         m a r g i n - b o t t o m :   1 5 p x ; 
         f o n t - s i z e :   2 . 5 r e m ; 
 } 
 
 . e v e n t o - m e t a   { 
         d i s p l a y :   f l e x ; 
         f l e x - d i r e c t i o n :   c o l u m n ; 
         g a p :   8 p x ; 
         m a r g i n - b o t t o m :   2 0 p x ; 
 } 
 
 . e v e n t o - m e t a   p   { 
         m a r g i n :   0 ; 
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ,   # c c c ) ; 
         f o n t - s i z e :   1 . 1 r e m ; 
 } 
 
 . e v e n t o - i n t e r e s s e   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         g a p :   2 0 p x ; 
         m a r g i n - b o t t o m :   2 0 p x ; 
 } 
 
 . i n t e r e s s e s - c o u n t   { 
         f o n t - s i z e :   1 . 2 r e m ; 
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ,   # c c c ) ; 
 } 
 
 . b t n - i n t e r e s s e   { 
         b a c k g r o u n d :   v a r ( - - b g - t e r t i a r y ,   # 3 3 3 ) ; 
         c o l o r :   v a r ( - - t e x t - p r i m a r y ,   # f f f ) ; 
         b o r d e r :   2 p x   s o l i d   v a r ( - - c o r - p r i n c i p a l ,   # 0 0 b f f f ) ; 
         p a d d i n g :   1 0 p x   2 0 p x ; 
         b o r d e r - r a d i u s :   8 p x ; 
         c u r s o r :   p o i n t e r ; 
         f o n t - s i z e :   1 r e m ; 
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
 } 
 
 . b t n - i n t e r e s s e : h o v e r   { 
         b a c k g r o u n d :   v a r ( - - c o r - p r i n c i p a l ,   # 0 0 b f f f ) ; 
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; 
 } 
 
 . b t n - i n t e r e s s e . d e m o n s t r o u - i n t e r e s s e   { 
         b a c k g r o u n d :   v a r ( - - c o r - p r i n c i p a l ,   # 0 0 b f f f ) ; 
         c o l o r :   v a r ( - - t e x t - p r i m a r y ,   # f f f ) ; 
 } 
 
 . e v e n t o - d e s c r i c a o , 
 . e v e n t o - l o c a l i z a c a o , 
 . e v e n t o - o r g a n i z a d o r   { 
         m a r g i n - b o t t o m :   3 0 p x ; 
 } 
 
 . e v e n t o - d e s c r i c a o   h 2 , 
 . e v e n t o - l o c a l i z a c a o   h 2 , 
 . e v e n t o - o r g a n i z a d o r   h 2   { 
         c o l o r :   v a r ( - - c o r - p r i n c i p a l ,   # 0 0 b f f f ) ; 
         m a r g i n - b o t t o m :   1 5 p x ; 
         f o n t - s i z e :   1 . 8 r e m ; 
 } 
 
 . e v e n t o - d e s c r i c a o   p   { 
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ,   # c c c ) ; 
         l i n e - h e i g h t :   1 . 6 ; 
         f o n t - s i z e :   1 . 1 r e m ; 
 } 
 
 # m a p a - c o n t a i n e r   { 
         w i d t h :   1 0 0 % ; 
         h e i g h t :   3 0 0 p x ; 
         b o r d e r - r a d i u s :   1 2 p x ; 
         o v e r f l o w :   h i d d e n ; 
         b o x - s h a d o w :   0   4 p x   1 6 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 3 ) ; 
 } 
 
 # e n d e r e c o - c o m p l e t o   { 
         m a r g i n - t o p :   1 0 p x ; 
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ,   # c c c ) ; 
         f o n t - s i z e :   1 r e m ; 
 } 
 
 . e v e n t o - o r g a n i z a d o r   p   { 
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ,   # c c c ) ; 
         f o n t - s i z e :   1 . 1 r e m ; 
 } 
 
 