/* ========================================
   Inner pages — Settings, Profile, Journal, Calendar, App Info
   ======================================== */

.inner-main {
  padding: 60px 24px 80px;
  max-width: 880px;
  margin: 0 auto;
}

.inner-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 300;
  color: var(--soft-white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 16px;
}

.inner-subtitle {
  font-size: 16px;
  color: var(--subtle-gray);
  margin-bottom: 40px;
  font-weight: 300;
}

.inner-section {
  margin-bottom: 36px;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  backdrop-filter: blur(10px);
}

.inner-section-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--soft-white);
  margin-bottom: 8px;
}

.inner-section-text {
  font-size: 14px;
  color: var(--subtle-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.inner-current-value {
  font-size: 14px;
  color: var(--soft-white);
  margin-top: 8px;
}

.inner-current-value strong {
  color: var(--teal-glow);
  margin-left: 6px;
}

.inner-warn {
  font-size: 13px;
  color: var(--teal-glow);
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 10px;
}

/* Back link in dash header */
.dash-back-link {
  font-size: 13px;
  color: var(--subtle-gray);
  text-decoration: none;
  transition: color var(--transition-base);
  margin-right: 8px;
}

.dash-back-link:hover {
  color: var(--teal-glow);
}

/* ─── Profile form ─── */
.profile-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 420px;
}

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

.profile-form .form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--soft-white);
  letter-spacing: 0.3px;
}

.profile-form input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--soft-white);
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition-base);
}

.profile-form input:focus {
  outline: none;
  border-color: rgba(94, 234, 212, 0.4);
  box-shadow: 0 0 24px rgba(94, 234, 212, 0.12);
}

.profile-form input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-hint {
  font-size: 12px;
  color: var(--subtle-gray);
  margin-top: 4px;
}

.danger-zone {
  border-color: rgba(244, 114, 114, 0.2);
}

/* ─── Journal ─── */
.journal-editor textarea {
  width: 100%;
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--soft-white);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
  transition: var(--transition-base);
}

.journal-editor textarea:focus {
  outline: none;
  border-color: rgba(94, 234, 212, 0.4);
  box-shadow: 0 0 24px rgba(94, 234, 212, 0.12);
}

.journal-editor-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  align-items: stretch;
}

.journal-editor-row input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--soft-white);
  font-family: inherit;
  font-size: 14px;
}

.journal-editor-row input:focus {
  outline: none;
  border-color: rgba(94, 234, 212, 0.4);
}

.journal-editor-row .btn {
  padding: 12px 24px;
  white-space: nowrap;
}

.journal-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.journal-search {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  color: var(--soft-white);
  font-family: inherit;
  font-size: 13px;
}

.journal-search:focus {
  outline: none;
  border-color: rgba(94, 234, 212, 0.4);
}

.journal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.journal-entry {
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  position: relative;
}

.journal-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.journal-entry-date {
  font-size: 11px;
  color: var(--subtle-gray);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.journal-entry-delete {
  background: transparent;
  border: none;
  color: var(--subtle-gray);
  font-size: 16px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: var(--transition-base);
}

.journal-entry-delete:hover {
  background: rgba(244, 114, 114, 0.1);
  color: #F87171;
}

.journal-entry-text {
  color: var(--soft-white);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.journal-entry-tags {
  margin-top: 10px;
  font-size: 12px;
  color: var(--teal-glow);
  font-weight: 500;
}

.journal-empty {
  text-align: center;
  color: var(--subtle-gray);
  font-style: italic;
  padding: 24px;
}

/* ─── Calendar ─── */
.cal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cal-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cal-form label {
  font-size: 13px;
  color: var(--soft-white);
  font-weight: 500;
}

.cal-form input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--soft-white);
  font-family: inherit;
  font-size: 14px;
}

.cal-form input:focus {
  outline: none;
  border-color: rgba(94, 234, 212, 0.4);
}

.cal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cal-event {
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(94, 234, 212, 0.15);
  border-radius: 14px;
  position: relative;
}

.cal-event-past {
  opacity: 0.5;
  border-color: rgba(255, 255, 255, 0.05);
}

.cal-event-date {
  font-size: 12px;
  color: var(--teal-glow);
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.cal-event-title {
  font-size: 15px;
  color: var(--soft-white);
  font-weight: 500;
  margin-bottom: 4px;
}

.cal-event-note {
  font-size: 13px;
  color: var(--subtle-gray);
  line-height: 1.5;
}

.cal-event-delete {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--subtle-gray);
  font-size: 14px;
  cursor: pointer;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  transition: var(--transition-base);
}

.cal-event-delete:hover {
  background: rgba(244, 114, 114, 0.1);
  color: #F87171;
}

/* ─── App Info ─── */
.app-info-hero {
  text-align: center;
}

.app-info-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: linear-gradient(135deg,
    rgba(94, 234, 212, 0.3),
    rgba(184, 164, 216, 0.3));
  font-size: 48px;
  box-shadow: 0 12px 32px rgba(94, 234, 212, 0.2);
}

.app-info-name {
  font-size: 22px;
  font-weight: 500;
  color: var(--soft-white);
  margin-bottom: 12px;
}

.app-info-tagline {
  font-size: 14px;
  color: var(--subtle-gray);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 28px;
}

.app-info-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.app-info-pending {
  font-size: 13px;
  color: var(--teal-glow);
  font-weight: 500;
  padding: 12px 24px;
  background: rgba(94, 234, 212, 0.08);
  border: 1px dashed rgba(94, 234, 212, 0.3);
  border-radius: 100px;
}

.app-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.app-feature {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  font-size: 13px;
  color: var(--soft-white);
  line-height: 1.5;
}

.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.vs-col {
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.vs-col h3 {
  font-size: 16px;
  color: var(--soft-white);
  margin-bottom: 14px;
  font-weight: 500;
}

.vs-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vs-col li {
  padding: 6px 0 6px 18px;
  font-size: 13px;
  color: var(--subtle-gray);
  line-height: 1.5;
  position: relative;
}

.vs-col li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal-glow);
  font-weight: 700;
}

@media (max-width: 640px) {
  .vs-grid { grid-template-columns: 1fr; }
  .cal-form-row { grid-template-columns: 1fr; }
  .journal-editor-row { flex-direction: column; }
  .inner-section { padding: 20px 16px; }
}
