:root {
  --background: #f5f7fa;
  --foreground: #232946;
  --card: #fff;
  --card-foreground: #232946;
  --primary: #2563eb;
  --primary-foreground: #fff;
  --primary-soft: #e0e7ff;
  --muted: #f3f4f6;
  --muted-foreground: #6b7280;
  --accent: #fbbf24;
  --accent-foreground: #78350f;
  --accent-soft: #fef3c7;
  --premium: #a21caf;
  --premium-foreground: #fff;
  --premium-soft: #f3e8ff;
  --border: #e5e7eb;
  --radius: 0.5rem;
  --shadow-soft: 0 4px 20px -8px rgba(35,41,70,0.15);
  --orange-light: #B79453;
  --gray-light: #f8f9fa;
  --text-gray: #6c757d;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', 'Roboto Slab', 'Poppins', Arial, sans-serif;
}

.devocional-card {
  background: var(--card);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  max-width: 700px;
  margin: 2rem auto;
  color: var(--card-foreground);
}

/* Estilos específicos para devocional_free com visual da imagem */
.devocional-free-visual {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  max-width: 700px;
  margin: 20px auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  position: relative;
}

/* Estilos para a seção de Aplicação Prática */
.devocional-aplicacao-pratica {
  background-color: #f9f5e7;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  border-left: 4px solid #d4b978;
}

.devocional-aplicacao-pratica h3 {
  color: #8b6e3d;
  margin-top: 0;
  font-size: 1.3em;
  font-weight: 600;
}

.devocional-aplicacao-pratica .conteudo {
  color: #333;
  line-height: 1.6;
  font-size: 1.05em;
}

/* Responsividade para mobile */
@media (max-width: 480px) {
  .devocional-free-visual {
    padding: 30px 10px;
    max-width: 90%;
  }
}

/* Carrossel de navegação */
.devocional-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% + 200px);
  left: -100px;
  display: flex;
  
  /* Responsividade para dispositivos móveis */
  @media (max-width: 768px) {
    width: calc(100% + 180px);
    left: -90px;
  }
  
  @media (max-width: 480px) {
    width: calc(100% + 160px);
    left: -80px;
  }
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  text-decoration: none;
  color: var(--orange-light);
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0 5px;
  
  /* Responsividade para dispositivos móveis */
  @media (max-width: 768px) {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
  
  @media (max-width: 480px) {
    width: 38px;
    height: 38px;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
}

.carousel-btn:hover {
  background: var(--orange-light);
  color: white;
  transform: scale(1.05);
  text-decoration: none;
}

.carousel-btn.disabled {
  background: #f5f5f5;
  border-color: #ddd;
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}

.carousel-btn.disabled:hover {
  background: #f5f5f5;
  color: #ccc;
  transform: none;
}

.carousel-btn.premium-only {
  position: relative;
}

.carousel-btn.premium-only::after {
  content: "Premium";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange-light);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.carousel-btn.premium-only:hover::after {
  opacity: 1;
}

.carousel-prev {
  /* Posição calculada pelo flex justify-space-between */
}

.carousel-next {
  /* Posição calculada pelo flex justify-space-between */
}

.data-navigation {
  margin-top: 8px;
}

.btn-hoje {
  background: var(--orange-light);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-hoje:hover {
  background: #a0824a;
  text-decoration: none;
  color: white;
}

.devocional-date {
  text-align: center;
  color: var(--orange-light);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.devocional-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.2;
  font-family: "Times New Roman", serif;
}

.devocional-reference {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-light);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.book-icon {
  font-size: 18px;
}

.book-icon i {
  font-size: 18px;
}

.devocional-audio {
  margin-bottom: 24px;
}

.devocional-audio audio {
  width: 100%;
  max-width: 400px;
  height: 54px;
  border-radius: 12px;
  outline: none;
}

.devocional-verse {
  background: var(--gray-light);
  border-left: 4px solid var(--orange-light);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  position: relative;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.devocional-explanation {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #444;
  font-size: 15px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Estilo para a aplicação prática */
.devocional-aplicacao-pratica {
  margin: 25px 0;
  padding: 20px;
  background-color: #f9f5eb;
  border-left: 4px solid var(--orange-light);
  border-radius: 6px;
}

.devocional-aplicacao-pratica h3 {
  margin-top: 0;
  color: var(--orange-light);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.devocional-explanation strong {
  color: var(--orange-light);
  font-weight: 600;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.devocional-keyword {
  margin-bottom: 20px;
  padding: 12px 0;
  border-top: 1px solid #eee;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.devocional-keyword strong {
  color: var(--orange-light);
  font-weight: 600;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.devocional-additional-text {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  line-height: 1.7;
  color: #555;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Navegação de datas */
.devocional-date-navigation {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  padding: 0 20px;
}

.date-nav-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 16px;
  min-width: 120px;
  text-align: center;
  text-decoration: none;
  color: #6b7280;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.date-nav-card:hover {
  text-decoration: none;
  color: #6b7280;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.date-nav-card.active {
  border-color: var(--orange-light);
  background: #fefdf8;
  color: var(--orange-light);
}

.date-nav-card.active-today {
  border-color: var(--orange-light);
  background: var(--orange-light);
  color: white;
}

.date-nav-card.disabled {
  background: #f9fafb;
  border-color: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.6;
}

.date-nav-card.disabled:hover {
  transform: none;
  box-shadow: none;
}

.date-nav-card.premium-locked {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.date-nav-icon {
  font-size: 20px;
  margin-bottom: 8px;
}

.date-nav-card.active-today .date-nav-icon {
  color: white;
}

.date-nav-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.date-nav-date {
  font-size: 14px;
  font-weight: 600;
}

.premium-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--orange-light);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Responsividade */
@media (max-width: 768px) {
  .devocional-date-navigation {
    gap: 12px;
    padding: 0 10px;
  }
  
  .date-nav-card {
    min-width: 100px;
    padding: 16px 12px;
  }
  
  .date-nav-icon {
    font-size: 18px;
    margin-bottom: 6px;
  }
  
  .date-nav-label {
    font-size: 10px;
  }
  
  .date-nav-date {
    font-size: 13px;
  }
  
  /* Garantir que as setas de navegação sejam visíveis em dispositivos móveis */
  .devocional-carousel-nav {
    z-index: 100;
  }
  
  /* Ajustes para o menu_premium */
  .area-premium-container .devocional-carousel-nav {
    width: calc(100% + 180px);
    left: -90px;
  }
  
  .area-premium-container .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  /* Ajustes para telas muito pequenas */
  .devocional-carousel-nav {
    width: calc(100% + 120px);
    left: -60px;
  }
  
  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
  
  .area-premium-container .devocional-carousel-nav {
    width: calc(100% + 120px);
    left: -60px;
  }
  
  .area-premium-container .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

/* Estilos para Chamada Premium */
.chamada-premium-card {
  background: linear-gradient(135deg, #f9f7f1 0%, #f0eee6 100%);
  border-radius: 32px;
  padding: 56px 40px 40px;
  max-width: 740px;
  margin: 30px auto;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #e8e4d8;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  position: relative;
}

.premium-icon {
  margin-bottom: 40px;
}

.crown-icon {
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-light);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-weight: normal;
}

.crown-icon i {
  font-size: 32px;
}

.premium-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.1;
  font-family: "Times New Roman", serif;
  letter-spacing: -0.02em;
}

.premium-description {
  font-size: 17px;
  color: #6b7280;
  margin-bottom: 48px;
  line-height: 1.5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.premium-benefits {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #6b7280;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
}

.benefit-icon {
  font-size: 16px;
  color: var(--orange-light);
}

.benefit-icon i {
  font-size: 16px;
}

.premium-actions {
  margin-bottom: 32px;
}

.btn-premium-principal {
  background: var(--orange-light);
  color: white;
  padding: 18px 40px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segui UI', Roboto, sans-serif;
  box-shadow: 0 4px 16px rgba(183, 148, 83, 0.15);
  letter-spacing: -0.01em;
}

.btn-premium-principal:hover {
  background: #a68847;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(183, 148, 83, 0.25);
  text-decoration: none;
  color: white;
}

.premium-secondary {
  padding-top: 0;
  border-top: none;
}

.secondary-text {
  font-size: 15px;
  color: #9ca3af;
  margin-bottom: 8px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
}

.btn-premium-secundario {
  color: var(--orange-light);
  text-decoration: underline;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.btn-premium-secundario:hover {
  color: #a68847;
  text-decoration: underline;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .premium-benefits {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .chamada-premium-card {
    margin: 20px 16px;
    padding: 48px 28px 32px;
    max-width: none;
  }
  
  .premium-title {
    font-size: 24px;
  }
  
  .crown-icon {
    width: 72px;
    height: 72px;
    font-size: 24px;
  }
  
  .premium-description {
    font-size: 16px;
  }
  
  .premium-benefits {
    gap: 32px;
  }
}

/* Estilos existentes mantidos para compatibilidade */
.text-3xl { font-size: 2rem; }
.font-heading { font-family: 'Roboto Slab', serif; }
.font-bold { font-weight: bold; }
.text-center { text-align: center; }
.mb-6 { margin-bottom: 1.5rem; }
.prose { color: var(--foreground); line-height: 1.7; }
.premium { border: 2px solid var(--accent); }
.bg-primary-soft\/30 { background: var(--primary-soft); }
.text-primary { color: var(--primary); }
.rounded { border-radius: 0.5rem; }
.max-w-md { max-width: 420px; }
.w-full { width: 100%; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.text-muted-foreground { color: var(--muted-foreground); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.border { border: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.pt-4 { padding-top: 1rem; }
.leading-tight { line-height: 1.2; }
.italic { font-style: italic; }
.text-lg { font-size: 1.125rem; }
.bg-primary-soft\/30 { background: var(--primary-soft); }
.rounded-r-lg { border-radius: 0 0.5rem 0.5rem 0; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.last\:mb-0:last-child { margin-bottom: 0; }
.max-w-none { max-width: none; }
.p-6 { padding: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.shadow-lg { box-shadow: 0 8px 32px -8px rgba(35,41,70,0.15); }
.ring-2 { box-shadow: 0 0 0 2px var(--primary); }
.bg-card\/80 { background: rgba(255,255,255,0.8); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* ========================================
   ÁREA PREMIUM STYLES
======================================== */

.area-premium-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.area-premium-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
}

.back-button {
  margin-right: 30px;
}

.back-link {
  display: flex;
  align-items: center;
  color: #6c757d;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--orange-light);
  text-decoration: none;
}

.back-link i {
  margin-right: 8px;
  font-size: 14px;
}

.area-premium-title-section {
  text-align: center;
  flex: 1;
}

.area-premium-title {
  font-family: 'Times New Roman', serif;
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--orange-light);
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.area-premium-subtitle {
  font-size: 1rem;
  color: #6c757d;
  margin: 0;
  font-weight: 400;
}

.area-premium-nav {
  background: white;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.nav-tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.nav-tab {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: #6c757d;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  min-width: 120px;
  justify-content: center;
  gap: 8px;
}

.nav-tab i {
  font-size: 16px;
  color: inherit;
}

.nav-tab span {
  font-size: 14px;
}

.nav-tab:hover {
  background: #f8f9fa;
  color: var(--orange-light);
  text-decoration: none;
  border-color: #e9ecef;
}

.nav-tab.active {
  background: var(--orange-light);
  color: white;
  border-color: var(--orange-light);
  box-shadow: 0 2px 8px rgba(183, 148, 83, 0.2);
}

.nav-tab.active:hover {
  background: #a08142;
  color: white;
}

/* Conteúdo das abas */
.tab-content {
  margin-top: 30px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.coming-soon {
  background: white;
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.coming-soon h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px 0;
}

.coming-soon p {
  font-size: 1rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.5;
}

/* Responsividade */
@media (max-width: 768px) {
  .area-premium-container {
    padding: 15px;
  }
  
  .area-premium-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .back-button {
    margin-right: 0;
    align-self: flex-start;
  }
  
  .area-premium-title {
    font-size: 1.8rem;
  }
  
  .nav-tabs {
    flex-wrap: wrap;
    gap: 6px;
  }
  
  .nav-tab {
    min-width: 100px;
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .nav-tab i {
    font-size: 14px;
  }
  
  .nav-tab span {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .area-premium-title {
    font-size: 1.6rem;
  }
  
  .nav-tabs {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 8px;
  }
  
  .nav-tab {
    min-width: auto;
    width: 100%;
  }
}

/* ========================================
   DIÁRIO PESSOAL STYLES
======================================== */

.diario-pessoal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.diario-title {
  font-family: 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: bold;
  color: var(--orange-light);
  text-align: center;
  margin-bottom: 30px;
}

.diario-form-container {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.diario-form .form-group {
  margin-bottom: 20px;
}

.diario-form label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 14px;
}

.diario-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 16px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.diario-form textarea:focus {
  outline: none;
  border-color: var(--orange-light);
  box-shadow: 0 0 0 3px rgba(183, 148, 83, 0.1);
}

.char-counter {
  text-align: right;
  font-size: 12px;
  color: #6c757d;
  margin-top: 4px;
}

.btn-salvar-entrada {
  background: linear-gradient(135deg, #B79453 0%, #d4af37 100%) !important;
  color: white !important;
  border: none !important;
  padding: 14px 24px !important;
  border-radius: 12px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(183, 148, 83, 0.15) !important;
  margin: 0 auto !important;
}

.btn-salvar-entrada:hover:not(:disabled) {
  background: linear-gradient(135deg, #a68847 0%, #c19b2b 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(183, 148, 83, 0.25) !important;
}

.btn-salvar-entrada:disabled {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.diario-entradas-lista {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.diario-entradas-lista h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.diario-entradas-lista h3 i {
  color: var(--orange-light);
  font-size: 1.1rem;
}

.diario-entrada-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  border-left: 4px solid var(--orange-light);
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.diario-entrada-item:last-child {
  margin-bottom: 0;
}

.entrada-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e9ecef;
}

.entrada-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.entrada-acoes {
  display: flex;
  gap: 8px;
}

.btn-excluir-entrada {
  background: #dc3545 !important;
  color: white !important;
  border: none !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  font-size: 12px !important;
  padding: 0 !important;
}

.btn-excluir-entrada:hover:not(:disabled) {
  background: #c82333 !important;
  transform: scale(1.05) !important;
}

.btn-excluir-entrada:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.btn-excluir-entrada i {
  font-size: 12px !important;
  color: white !important;
}

.entrada-autor {
  font-weight: 600;
  color: var(--orange-light);
  font-size: 14px;
}

.entrada-data {
  font-size: 12px;
  color: #6c757d;
  font-weight: 500;
}

.entrada-conteudo {
  color: #444;
  line-height: 1.6;
  font-size: 14px;
}

.sem-entradas {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  margin: 40px 0;
}

/* Mensagens de status */
#diario-mensagens {
  margin-bottom: 20px;
}

.diario-success {
  background: #d4edda;
  color: #155724;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #c3e6cb;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
}

.diario-error {
  background: #f8d7da;
  color: #721c24;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #f5c6cb;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
}

.diario-login-required {
  background: white;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.diario-login-required p {
  color: #6c757d;
  font-size: 16px;
  margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
  .diario-pessoal-container {
    padding: 15px;
  }
  
  .diario-form-container,
  .diario-entradas-lista {
    padding: 20px;
  }
  
  .diario-title {
    font-size: 1.8rem;
  }
  
  .entrada-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .entrada-info {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
  }
  
  .entrada-acoes {
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  .diario-title {
    font-size: 1.6rem;
  }
  
  .diario-form-container,
  .diario-entradas-lista {
    padding: 16px;
  }
  
  .entrada-header {
    gap: 12px;
  }
}

/* ========================================
   DIÁRIO PESSOAL STYLES
======================================== */

.diario-pessoal-container {
  max-width: 800px;
  margin: 0 auto;
}

.diario-title {
  font-family: 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 30px 0;
  text-align: left;
}

.diario-form-container {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  margin-bottom: 30px;
}

.diario-form .form-group {
  margin-bottom: 25px;
}

.diario-form label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  font-size: 16px;
}

.diario-form textarea {
  width: 100%;
  min-height: 150px;
  padding: 16px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.diario-form textarea:focus {
  outline: none;
  border-color: var(--orange-light);
  box-shadow: 0 0 0 3px rgba(183, 148, 83, 0.1);
}

.diario-form textarea::placeholder {
  color: #999;
  font-style: italic;
}

.char-counter {
  text-align: right;
  margin-top: 8px;
  font-size: 13px;
  color: #6c757d;
  font-weight: 500;
}

.btn-salvar-entrada {
  background: linear-gradient(135deg, #B79453 0%, #d4af37 100%) !important;
  color: white !important;
  border: none !important;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(183, 148, 83, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  outline: none !important;
}

.btn-salvar-entrada::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.btn-salvar-entrada:hover::before {
  left: 100%;
}

.btn-salvar-entrada:hover {
  background: linear-gradient(135deg, #a08142 0%, #b8941f 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(183, 148, 83, 0.4);
  color: white !important;
}

.btn-salvar-entrada:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(183, 148, 83, 0.3);
}

.btn-salvar-entrada:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(183, 148, 83, 0.3);
}

.btn-salvar-entrada i {
  font-size: 14px;
  margin-right: 2px;
  color: white !important;
}

.btn-salvar-entrada span {
  font-weight: 700;
  color: white !important;
}

/* Mensagens de status */
.diario-success, .diario-error {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
}

.diario-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.diario-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.diario-login-required {
  background: white;
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

/* Lista de entradas */
.diario-entradas-lista {
  margin-top: 40px;
}

.diario-entradas-lista h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 20px 0;
}

.diario-entrada-item {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.diario-entrada-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.entrada-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.entrada-autor {
  font-weight: 600;
  color: var(--orange-light);
  font-size: 14px;
}

.entrada-data {
  font-size: 12px;
  color: #6c757d;
  font-weight: 500;
}

.entrada-conteudo {
  color: #333;
  line-height: 1.6;
  font-size: 14px;
}

/* Responsividade */
@media (max-width: 768px) {
  .diario-form-container {
    padding: 20px;
  }
  
  .diario-title {
    font-size: 1.6rem;
  }
  
  .btn-salvar-entrada {
    min-width: 100%;
    padding: 14px 24px;
    font-size: 15px;
  }
  
  .entrada-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* === ESTILOS PARA ESTUDOS BÍBLICOS === */

.estudos-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.estudos-titulo {
    text-align: center;
    color: #B79453 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 40px !important;
    position: relative;
}

.estudos-titulo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #B79453 0%, #d4af37 100%);
    border-radius: 2px;
}

.estudos-lista {
    display: grid;
    gap: 25px;
}

.estudo-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(183, 148, 83, 0.1);
    border: 1px solid rgba(183, 148, 83, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.estudo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #B79453 0%, #d4af37 100%);
}

.estudo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(183, 148, 83, 0.2);
    border-color: #B79453;
}

.estudo-icon {
    margin-right: 25px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.estudo-item:hover .estudo-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0.08) 100%);
}

.estudo-icon i {
    color: #dc2626 !important;
    font-size: 28px !important;
    transition: all 0.3s ease;
}

.estudo-content {
    flex: 1;
    padding-right: 20px;
}

.estudo-titulo {
    color: #2c3e50 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.4;
}

.estudo-descricao {
    color: #64748b !important;
    font-size: 15px !important;
    margin: 0 !important;
    line-height: 1.6;
    opacity: 0.9;
}

.estudo-download {
    flex-shrink: 0;
}

.estudo-btn {
    background: linear-gradient(135deg, #B79453 0%, #d4af37 100%) !important;
    color: white !important;
    padding: 14px 28px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(183, 148, 83, 0.3) !important;
    position: relative;
    overflow: hidden;
}

.estudo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.estudo-btn:hover::before {
    left: 100%;
}

.estudo-btn:hover {
    background: linear-gradient(135deg, #a08442 0%, #c19f32 100%) !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(183, 148, 83, 0.4) !important;
}

.estudo-btn:active {
    transform: translateY(0);
}

.estudo-btn i {
    font-size: 16px !important;
    transition: transform 0.3s ease;
}

.estudo-btn:hover i {
    transform: translateX(2px);
}

.estudos-vazio {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    border: 2px dashed rgba(183, 148, 83, 0.3);
    margin: 40px 0;
}

.estudos-vazio p {
    margin: 15px 0 !important;
    font-size: 18px !important;
    color: #64748b !important;
}

.estudos-vazio p:first-child {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #475569 !important;
}

.estudos-vazio em {
    color: #94a3b8 !important;
    font-size: 16px !important;
}

/* === RESPONSIVIDADE PARA ESTUDOS === */

@media (max-width: 768px) {
    .estudos-container {
        padding: 0 15px;
        margin: 20px auto;
    }
    
    .estudos-titulo {
        font-size: 24px !important;
        margin-bottom: 30px !important;
    }
    
    .estudo-item {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .estudo-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .estudo-content {
        margin-bottom: 25px;
        padding-right: 0;
    }
    
    .estudo-titulo {
        font-size: 18px !important;
    }
    
    .estudo-descricao {
        font-size: 14px !important;
    }
    
    .estudo-btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
    
    .estudos-vazio {
        padding: 60px 20px;
    }
    
    .estudos-vazio p {
        font-size: 16px !important;
    }
    
    .estudos-vazio p:first-child {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .estudos-titulo {
        font-size: 22px !important;
    }
    
    .estudo-item {
        padding: 25px 15px;
    }
    
    .estudo-titulo {
        font-size: 16px !important;
    }
    
    .estudo-btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
}

/* === ANIMAÇÕES PARA ESTUDOS === */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.estudo-item {
    animation: fadeInUp 0.6s ease forwards;
}

.estudo-item:nth-child(2) {
    animation-delay: 0.1s;
}

.estudo-item:nth-child(3) {
    animation-delay: 0.2s;
}

.estudo-item:nth-child(4) {
    animation-delay: 0.3s;
}

.estudo-item:nth-child(5) {
    animation-delay: 0.4s;
}
