.journal-hero {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, 
    rgba(209, 227, 237, 0.4) 0%, 
    rgba(168, 203, 222, 0.25) 50%, 
    rgba(230, 241, 247, 0.5) 100%);
  border-radius: 20px;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 32px rgba(168, 203, 222, 0.15);
  border: 1px solid rgba(168, 203, 222, 0.2);
}

.journal-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.journal-hero h1 {
  font-size: 3rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 300;
  letter-spacing: 3px;
  color: #6B99B8;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 8px rgba(168, 203, 222, 0.3);
}

.video-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #6B99B8 0%, #7A9FB3 100%);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(107, 153, 184, 0.25);
  margin-bottom: 0.8rem;
}

.video-help-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(107, 153, 184, 0.35);
  background: linear-gradient(135deg, #7A9FB3 0%, #6B99B8 100%);
}

.video-help-btn:active {
  transform: translateY(0);
}

.video-help-btn svg {
  width: 20px;
  height: 20px;
}

.journal-subtitle {
  font-size: 1.1rem;
  color: #7A9FB3;
  font-style: italic;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.journal-welcome {
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 0.95), 
    rgba(230, 241, 247, 0.5));
  padding: 2.5rem;
  border-radius: 16px;
  margin-top: 2rem;
  border: 1px solid rgba(168, 203, 222, 0.25);
  box-shadow: inset 0 2px 12px rgba(168, 203, 222, 0.1);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.journal-welcome h2 {
  font-size: 1.7rem;
  font-family: Georgia, 'Times New Roman', serif;
  color: #6B99B8;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 300;
  letter-spacing: 1px;
}

.journal-welcome p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #5a6b75;
  margin-bottom: 1.2rem;
  text-align: left;
  font-weight: 300;
}

.journal-welcome strong {
  color: #6B99B8;
  font-weight: 500;
}

.journal-closing {
  text-align: center;
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(168, 203, 222, 0.3);
  font-size: 1.05rem;
  color: #7A9FB3;
  font-weight: 300;
}

.journal-closing em {
  color: #6B99B8;
  font-style: italic;
  font-size: 1.05rem;
}

.journal-container {
  max-width: 1200px;
  margin: 0 auto;
}

.new-entry-section {
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 0.95), 
    rgba(240, 247, 252, 0.8),
    rgba(230, 241, 247, 0.3));
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(168, 203, 222, 0.18);
  margin-bottom: 3rem;
  border: 1px solid rgba(168, 203, 222, 0.3);
  backdrop-filter: blur(10px);
}

.new-entry-section h2 {
  color: #6B99B8;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 300;
  letter-spacing: 1px;
}

.journal-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.affirmation-group {
  background: linear-gradient(135deg, 
    rgba(230, 241, 247, 0.5) 0%, 
    rgba(194, 220, 232, 0.3) 50%,
    rgba(240, 247, 252, 0.6) 100%);
  padding: 2rem;
  border-radius: 16px;
  border: 2px solid rgba(168, 203, 222, 0.4);
  box-shadow: 0 4px 16px rgba(168, 203, 222, 0.15);
}

.affirmation-group label {
  font-size: 1.2rem;
  font-weight: 400;
  color: #6B99B8;
  font-family: Georgia, 'Times New Roman', serif;
}

.form-group label {
  font-weight: 400;
  color: #6B99B8;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: Georgia, 'Times New Roman', serif;
}

.label-icon {
  font-size: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 2px solid rgba(168, 203, 222, 0.35);
  border-radius: 8px;
  font-size: 1rem;
  font-family: Georgia, 'Times New Roman', serif;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6B99B8;
  box-shadow: 0 0 0 3px rgba(168, 203, 222, 0.15);
}

.affirmation-group input {
  font-size: 1.1rem;
  font-weight: 300;
  background: rgba(255, 255, 255, 0.95);
}

.general-reflection-group {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, 
    rgba(230, 241, 247, 0.4) 0%, 
    rgba(209, 227, 237, 0.3) 100%);
  border-radius: 12px;
  border: 2px solid rgba(168, 203, 222, 0.3);
}

.general-reflection-group label {
  font-size: 1.2rem;
  font-weight: 400;
  color: #6B99B8;
  margin-bottom: 1rem;
  display: block;
}

.general-reflection-group textarea {
  width: 100%;
  min-height: 150px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  line-height: 1.8;
}

.save-entry-btn {
  background: linear-gradient(135deg, #6B99B8 0%, #7A9FB3 100%);
  color: white;
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(168, 203, 222, 0.3);
  margin-top: 1rem;
  align-self: center;
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: 1px;
}

.save-entry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 203, 222, 0.4);
}

.save-entry-btn:active {
  transform: translateY(0);
}

.prompt-container {
  background: linear-gradient(135deg, 
    rgba(230, 241, 247, 0.6) 0%, 
    rgba(194, 220, 232, 0.35) 50%,
    rgba(240, 247, 252, 0.7) 100%);
  padding: 1.8rem;
  border-radius: 16px;
  border: 2px solid rgba(168, 203, 222, 0.4);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 16px rgba(168, 203, 222, 0.15);
}

.prompt-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.prompt-icon {
  font-size: 2rem;
}

.prompt-text {
  font-size: 1.1rem;
  font-weight: 300;
  color: #5a6b75;
  font-style: italic;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
}

.skip-prompt-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #7A9FB3;
  border: 2px solid rgba(168, 203, 222, 0.3);
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-weight: 300;
}

.skip-prompt-btn:hover {
  background: rgba(240, 247, 252, 0.9);
  border-color: #6B99B8;
  color: #6B99B8;
}

.prompt-selection {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.prompt-dropdown {
  padding: 1rem;
  border: 2px solid rgba(168, 203, 222, 0.35);
  border-radius: 8px;
  font-size: 1rem;
  font-family: Georgia, 'Times New Roman', serif;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-weight: 300;
}

.prompt-dropdown:focus {
  outline: none;
  border-color: #6B99B8;
  box-shadow: 0 0 0 3px rgba(168, 203, 222, 0.15);
}

.get-prompt-btn {
  background: linear-gradient(135deg, #6B99B8 0%, #7A9FB3 100%);
  color: white;
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(168, 203, 222, 0.25);
  width: 100%;
  max-width: 300px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: 1px;
}

.get-prompt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(168, 203, 222, 0.35);
}

.dropdown-container {
  margin-bottom: 1.5rem;
}

.dropdown-container label {
  display: block;
  font-size: 1.1rem;
  font-weight: 400;
  color: #6B99B8;
  margin-bottom: 0.8rem;
  font-family: Georgia, 'Times New Roman', serif;
}

.dropdown-container select {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(168, 203, 222, 0.35);
  border-radius: 8px;
  font-size: 1rem;
  font-family: Georgia, 'Times New Roman', serif;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-weight: 300;
  color: #5a6b75;
}

.dropdown-container select:focus {
  outline: none;
  border-color: #6B99B8;
  box-shadow: 0 0 0 3px rgba(168, 203, 222, 0.15);
}

.affirmation-display {
  display: none;
  background: linear-gradient(135deg, 
    rgba(230, 241, 247, 0.6) 0%, 
    rgba(194, 220, 232, 0.35) 50%,
    rgba(240, 247, 252, 0.7) 100%);
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid rgba(168, 203, 222, 0.4);
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  font-weight: 300;
  color: #5a6b75;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  text-align: center;
  box-shadow: 0 4px 16px rgba(168, 203, 222, 0.12);
}

.selectors-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.selectors-row select {
  padding: 1rem;
  border: 2px solid rgba(168, 203, 222, 0.35);
  border-radius: 8px;
  font-size: 1rem;
  font-family: Georgia, 'Times New Roman', serif;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-weight: 300;
  color: #5a6b75;
}

.selectors-row select:focus {
  outline: none;
  border-color: #6B99B8;
  box-shadow: 0 0 0 3px rgba(168, 203, 222, 0.15);
}

.custom-multi-select {
  position: relative;
  width: 100%;
}

.multi-select-trigger {
  padding: 1rem;
  border: 2px solid rgba(168, 203, 222, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 300;
  color: #5a6b75;
  transition: all 0.3s ease;
}

.multi-select-trigger:hover {
  border-color: #6B99B8;
}

.multi-select-trigger.active {
  border-color: #6B99B8;
  box-shadow: 0 0 0 3px rgba(168, 203, 222, 0.15);
}

.dropdown-arrow {
  font-size: 0.8rem;
  color: #6B99B8;
  transition: transform 0.3s ease;
}

.multi-select-trigger.active .dropdown-arrow {
  transform: rotate(180deg);
}

.multi-select-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #6B99B8;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(107, 153, 184, 0.2);
  max-height: 350px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  padding: 0.5rem;
}

.multi-select-dropdown.open {
  display: block;
}

.emotion-group {
  margin-bottom: 0.5rem;
}

.emotion-group-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6B99B8;
  font-style: italic;
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
  font-family: Georgia, 'Times New Roman', serif;
}

.emotion-checkbox {
  display: block;
  padding: 0.7rem 0.75rem;
  cursor: pointer;
  transition: background 0.2s ease;
  border-radius: 4px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 300;
  color: #5a6b75;
}

.emotion-checkbox:hover {
  background: rgba(168, 203, 222, 0.1);
}

.emotion-checkbox input[type="checkbox"] {
  margin-right: 0.75rem;
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: #6B99B8;
}

.emotion-checkbox input[type="checkbox"]:checked {
  accent-color: #6B99B8;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.entry-tag {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
}

.emotion-tag {
  background: linear-gradient(135deg, #6B99B8 0%, #5A8BA8 100%);
  color: white;
}

.frequency-tag {
  background: linear-gradient(135deg, #C8963E 0%, #B8863E 100%);
  color: white;
}

.vibration-tag {
  background: linear-gradient(135deg, #7A9FB3 0%, #6B99B8 100%);
  color: white;
}

.entry-prompt {
  background: rgba(245, 230, 195, 0.2);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid #C8963E;
}

.entry-prompt h4 {
  color: #C8963E;
  font-size: 0.95rem;
  margin: 0 0 0.5rem 0;
}

.entry-prompt p {
  color: #666;
  margin: 0;
  font-size: 1rem;
}

.entry-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pdf-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.pdf-btn:hover {
  background: #229954;
  transform: scale(1.05);
}

.drive-btn {
  background: #4285f4;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.drive-btn:hover {
  background: #357ae8;
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .selectors-row {
    grid-template-columns: 1fr;
  }
}

.entries-section {
  margin-top: 3rem;
}

.entries-section h2 {
  color: #6B99B8;
  font-size: 1.8rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  text-align: center;
  text-shadow: 0 2px 8px rgba(168, 203, 222, 0.3);
}

.journal-entries {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.journal-entry {
  background: linear-gradient(to bottom right, #fff, #fefdfb);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #C8963E;
  transition: all 0.3s ease;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.journal-entry:hover {
  box-shadow: 0 4px 25px rgba(200, 150, 62, 0.2);
  transform: translateY(-2px);
}

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(200, 150, 62, 0.2);
}

.entry-date {
  color: #666;
  font-size: 0.95rem;
  font-style: italic;
}

.delete-btn {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.delete-btn:hover {
  background: #c0392b;
  transform: scale(1.05);
}

.entry-affirmation {
  background: linear-gradient(135deg, rgba(200, 150, 62, 0.15) 0%, rgba(200, 150, 62, 0.05) 100%);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(200, 150, 62, 0.3);
}

.entry-affirmation h3 {
  color: #C8963E;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.entry-affirmation p {
  font-size: 1.15rem;
  font-weight: 500;
  color: #1F1F2E;
  font-style: italic;
  margin: 0;
}

.entry-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.entry-field {
  background: rgba(245, 230, 195, 0.15);
  padding: 1.2rem;
  border-radius: 8px;
}

.entry-field h4 {
  color: #1F1F2E;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.entry-field p {
  color: #444;
  line-height: 1.6;
  margin: 0;
  white-space: pre-wrap;
}

.entry-field.empty p {
  color: #999;
  font-style: italic;
}

.general-reflection-field {
  background: linear-gradient(135deg, 
    rgba(230, 241, 247, 0.3) 0%, 
    rgba(209, 227, 237, 0.2) 100%);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid #6B99B8;
  margin-bottom: 2rem;
}

.general-reflection-field h4 {
  color: #6B99B8;
  font-size: 1.15rem;
  font-weight: 500;
}

.general-reflection-field p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #5a6b75;
}

.no-entries {
  text-align: center;
  padding: 3rem;
  color: #999;
  font-style: italic;
  font-size: 1.1rem;
}

/* Video Modal Styles */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 31, 46, 0.85);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.video-modal-content {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.98) 0%, 
    rgba(230, 241, 247, 0.95) 100%);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 800px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(107, 153, 184, 0.4);
  border: 2px solid rgba(168, 203, 222, 0.3);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.video-modal-content h2 {
  font-family: Georgia, 'Times New Roman', serif;
  color: #6B99B8;
  font-size: 1.8rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.video-modal-content video {
  width: 100%;
  max-height: 70vh;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.video-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(107, 153, 184, 0.15);
  border: none;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  color: #6B99B8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
  padding: 0;
}

.video-close-btn:hover {
  background: rgba(107, 153, 184, 0.25);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .form-row,
  .entry-content {
    grid-template-columns: 1fr;
  }

  .new-entry-section {
    padding: 1.5rem;
  }

  .journal-hero h1 {
    font-size: 2rem;
  }

  .journal-subtitle {
    font-size: 1rem;
  }
}
