/* ==========================================================================
   DIVYA MANGALAM — 24-HOUR SACRED VEDIC MUHURAT CLOCK
   Horology, Shubh & Ashubh Timings, 10-Year Ephemeris Precision
   ========================================================================== */

.vedic-clock-section {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF6EE 50%, #FAF8F5 100%);
  border-top: 1px solid rgba(212, 160, 23, 0.25);
  border-bottom: 1px solid rgba(212, 160, 23, 0.25);
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.vc-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.vc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 160, 23, 0.12);
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #B45309;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.vc-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: #18181B;
  line-height: 1.25;
  margin: 0 0 1rem;
}

.vc-desc {
  font-size: 1.02rem;
  color: #5C5468;
  line-height: 1.65;
  margin: 0;
}

/* Control Deck */
.vc-controls-deck {
  background: #FFFFFF;
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: 0 10px 30px rgba(44, 26, 14, 0.06);
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vc-date-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vc-btn-nav {
  background: #FAF6EE;
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #78350F;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vc-btn-nav:hover {
  background: #B45309;
  color: #FFFFFF;
  border-color: #B45309;
}

.vc-btn-nav.active {
  background: #B45309;
  color: #FFFFFF;
  border-color: #B45309;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.25);
}

.vc-date-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FAF8F5;
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 10px;
  padding: 6px 12px;
}

.vc-date-input-wrap label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #B45309;
  text-transform: uppercase;
}

.vc-date-picker {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: #18181B;
  outline: none;
  cursor: pointer;
}

.vc-city-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FAF8F5;
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 10px;
  padding: 6px 12px;
}

.vc-city-select-wrap label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #B45309;
  text-transform: uppercase;
}

.vc-city-select {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #18181B;
  outline: none;
  cursor: pointer;
}

.vc-filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.vc-filter-pill {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #FFFFFF;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5C5468;
  cursor: pointer;
  transition: all 0.2s;
}

.vc-filter-pill:hover,
.vc-filter-pill.active {
  background: #18181B;
  color: #FFFFFF;
  border-color: #18181B;
}

.vc-filter-pill.active-shubh {
  background: #047857;
  color: #FFFFFF;
  border-color: #047857;
}

.vc-filter-pill.active-ashubh {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
}

/* Two-Column Grid Layout */
.vc-grid-layout {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .vc-grid-layout {
    grid-template-columns: 1fr;
  }
}

/* Left Column: Clock Dial Card */
.vc-clock-card {
  background: #FFFFFF;
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(44, 26, 14, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.vc-clock-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vc-svg-clock {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 24px rgba(44, 26, 14, 0.12));
}

/* Clock SVG Elements */
.vc-arc-segment {
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
  transform-origin: 250px 250px;
}

.vc-arc-segment:hover {
  filter: brightness(1.2) drop-shadow(0 0 10px rgba(212, 160, 23, 0.6));
  transform: scale(1.02);
}

.vc-arc-segment.active-highlight {
  filter: brightness(1.3) drop-shadow(0 0 16px rgba(255, 122, 41, 0.8));
  stroke: #FFFFFF !important;
  stroke-width: 2.5px !important;
}

.vc-hour-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  fill: #736E82;
  text-anchor: middle;
  dominant-baseline: central;
}

.vc-clock-needle {
  transform-origin: 250px 250px;
  transition: transform 0.5s cubic-bezier(0.4, 2.08, 0.55, 0.44);
}

/* Center Hub / Info Overlay */
.vc-center-hub {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(212, 160, 23, 0.4);
  box-shadow: 0 8px 24px rgba(44, 26, 14, 0.12), inset 0 0 16px rgba(212, 160, 23, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  box-sizing: border-box;
  pointer-events: none;
}

.vc-hub-time {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  color: #18181B;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.vc-hub-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.vc-badge-shubh {
  background: rgba(4, 120, 87, 0.12);
  color: #047857;
  border: 1px solid rgba(4, 120, 87, 0.3);
}

.vc-badge-ashubh {
  background: rgba(220, 38, 38, 0.12);
  color: #DC2626;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.vc-badge-neutral {
  background: rgba(184, 134, 11, 0.12);
  color: #B8860B;
  border: 1px solid rgba(184, 134, 11, 0.3);
}

.vc-hub-sun {
  font-size: 0.72rem;
  font-weight: 600;
  color: #5C5468;
  line-height: 1.3;
}

/* Legend Strip under Clock */
.vc-legend-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 160, 23, 0.2);
  width: 100%;
}

.vc-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #454052;
}

.vc-legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Right Column: Cards */
.vc-details-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Active Segment Spotlight Card */
.vc-spotlight-card {
  background: #FFFFFF;
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 20px;
  padding: 22px 26px;
  box-shadow: 0 8px 24px rgba(44, 26, 14, 0.05);
  position: relative;
  overflow: hidden;
}

.vc-spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: #B45309;
}

.vc-spotlight-card.spotlight-shubh::before {
  background: #047857;
}

.vc-spotlight-card.spotlight-ashubh::before {
  background: #DC2626;
}

.vc-spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.vc-spotlight-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #18181B;
  margin: 0 0 4px;
}

.vc-spotlight-time {
  font-size: 1.15rem;
  font-weight: 800;
  color: #B45309;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vc-spotlight-desc {
  font-size: 0.95rem;
  color: #454052;
  line-height: 1.6;
  margin: 0 0 16px;
}

.vc-spotlight-dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: #FAF8F5;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(212, 160, 23, 0.2);
}

@media (max-width: 640px) {
  .vc-spotlight-dos-donts {
    grid-template-columns: 1fr;
  }
}

.vc-guidance-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 6px;
  letter-spacing: 0.04em;
}

.vc-guidance-col.allowed h5 {
  color: #047857;
}

.vc-guidance-col.prohibited h5 {
  color: #DC2626;
}

.vc-guidance-col ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.85rem;
  color: #5C5468;
  line-height: 1.5;
}

/* "Can I Do It Today?" Action Matrix Card */
.vc-action-matrix-card {
  background: #FFFFFF;
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(44, 26, 14, 0.05);
}

.vc-action-matrix-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #B45309;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vc-action-matrix-subtitle {
  font-size: 0.88rem;
  color: #736E82;
  margin: 0 0 18px;
}

.vc-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.vc-action-item {
  background: #FAF8F5;
  border: 1px solid rgba(212, 160, 23, 0.25);
  border-radius: 14px;
  padding: 14px 16px;
  transition: all 0.2s ease;
}

.vc-action-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(44, 26, 14, 0.06);
  border-color: rgba(212, 160, 23, 0.5);
}

.vc-action-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.vc-action-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #18181B;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vc-action-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.vc-action-badge.shubh {
  background: rgba(4, 120, 87, 0.12);
  color: #047857;
  border: 1px solid rgba(4, 120, 87, 0.3);
}

.vc-action-badge.avoid {
  background: rgba(220, 38, 38, 0.12);
  color: #DC2626;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.vc-action-badge.caution {
  background: rgba(217, 119, 6, 0.12);
  color: #D97706;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.vc-action-best-time {
  font-size: 0.85rem;
  color: #454052;
  line-height: 1.45;
  margin-bottom: 4px;
}

.vc-action-note {
  font-size: 0.78rem;
  color: #736E82;
  line-height: 1.4;
}

/* Chronological Timeline Accordion/List */
.vc-timeline-card {
  background: #FFFFFF;
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(44, 26, 14, 0.05);
}

.vc-timeline-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #18181B;
  margin: 0 0 16px;
}

.vc-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 6px;
}

.vc-timeline-list::-webkit-scrollbar {
  width: 5px;
}
.vc-timeline-list::-webkit-scrollbar-thumb {
  background: rgba(212, 160, 23, 0.4);
  border-radius: 4px;
}

.vc-timeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  background: #FAF8F5;
  border: 1px solid rgba(212, 160, 23, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.vc-timeline-row:hover {
  background: #FFFFFF;
  border-color: #B45309;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(44, 26, 14, 0.05);
}

.vc-timeline-row.active {
  background: #FAF6EE;
  border-color: #B45309;
  box-shadow: 0 0 0 1px #B45309;
}

.vc-tr-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vc-tr-icon {
  font-size: 1.2rem;
}

.vc-tr-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #18181B;
}

.vc-tr-nature {
  font-size: 0.75rem;
  color: #736E82;
}

.vc-tr-right {
  font-size: 0.88rem;
  font-weight: 700;
  color: #B45309;
}
