:root {
    --brand-color: #7b2cbf;
    --bg-light: #ffffff;
}

.text-purple {
    color: var(--brand-color) !important;
}

.border-purple {
    border-color: var(--brand-color) !important;
}

.language-toggle-wrapper {
    text-align: right;
    margin-bottom: 10px; /* same as mb-3 */
}

.language-toggle {
    width: auto;
    display: inline-block;
    padding: 6px 8px;
    border: 1px solid var(--brand-color);
    border-radius: 3px;
    font-size: 10px;
}

.daily-heading {
    text-align: center;
    margin-top: 14px;
    margin-bottom: 12px; /* same as mb-4 */
    color: var(--brand-color); /* replaces text-purple */
    font-size: 20px; /* replaces fs-5 */
}

.ai-disclaimer {
  background-color: #f3e8ff;
  color: #7b2cbf;
  margin-bottom: 1rem;
  text-align: center;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin-top: 12px;
}


/* Breadcrumb */
.breadcrumb-nav {
  font-size: 0.75rem;
  color: #6c757d;
  margin-bottom: 1rem;
}
.breadcrumb-nav a {
  text-decoration: none;
  color: #7b2cbf;
  font-weight: 500;
}

/* Helper for full-width helper button at bottom */
.raasi-helper {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 12px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.raasi-helper .find-zodiac-button {
  display: block;
  width: 100%;
  max-width: 340px;
  background-color: #7b2cbf;
  color: white;
  font-size: 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s, transform 0.2s;
  padding: 14px 0;
  margin: 0 auto;
  border: none;
  text-align: center;
}

.raasi-helper .find-zodiac-button:hover {
  background-color: #6923a6;
  color: #fff;
  transform: scale(1.03);
}

/* Card Styling */
.raasi-card {
    height: 100%;
    position: relative;
    border: 1px solid var(--brand-color);
    border-radius: 12px;
    padding: 1rem;
    background-color: var(--bg-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.raasi-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 14px rgba(123, 44, 191, 0.15);
}

.raasi-card:active {
    transform: scale(0.98);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    opacity: 0.9;
}

/* Header (icon + title) */
.raasi-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Zodiac Icon */
.zodiac-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(24%) sepia(100%) saturate(410%) hue-rotate(240deg) brightness(90%) contrast(88%);
}

/* raasi Name */
.raasi-name {
    font-size: 16px;
    color: var(--brand-color);
    font-weight: 600;
    line-height: 1.5;          /* ✅ Increases vertical spacing */
    white-space: normal;       /* ✅ Allows wrapping */
    overflow-wrap: break-word; /* ✅ Breaks long words nicely */
    margin: 0;
}

/* Daily Palan */
.raasi-palan {
    font-size: 14px;
    text-align: left;
    margin-bottom: 2rem;
    color: #333;
    line-height: 1.6;           /* ✅ Slightly larger for Tamil script */
    overflow-wrap: break-word;
}

/* More link */
.raasi-more-link {
    font-size: 10px;
    font-weight: 500;
    color: var(--brand-color);
    position: absolute;
    bottom: 0.5rem;
    right: 0.75rem;
    text-align: right;
}

/* Responsive columns */
@media (max-width: 767.98px) {
    #zodiacCards .col-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 768px) {
    #zodiacCards .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }
}

.find-zodiac-button {
  display: inline-block;
  background-color: #7b2cbf;
  color: white; /* ✅ Fix */
  font-size: 12px;
  border-radius: 999px; /* pill style */
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease, transform 0.2s ease;
  padding: 10px 24px;
  margin-top: 6px; /* optional for spacing inside helper */
}

.find-zodiac-button:hover {
  background-color: #6923a6;
  color: #fff;
  transform: scale(1.05);
}

.btn-secondary {
    background-color: white;
    color: #7b2cbf;
    border: 2px solid #7b2cbf;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #f3e8ff;
    cursor: pointer;
}

/* Make the bottom helper button full width on mobile */
@media (max-width: 576px) {
  .raasi-helper .find-zodiac-button {
    max-width: 100%;
    width: 100%;
    font-size: 16px;
    padding: 14px 0;
  }
}