/**
 * Chaldean Calculators Suite - Stylesheet
 * Scoped styling matching Numerology By Nehaa branding.
 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600;700&display=swap');

:root {
  --ccs-primary: #8C52FF;
  --ccs-primary-hover: #4F46E5;
  --ccs-secondary: #131938;
  --ccs-whatsapp: #25D366;
  --ccs-whatsapp-hover: #1da851;
  --ccs-bg-card: #ffffff;
  --ccs-bg-subtle: #f8f9fc;
  --ccs-border: #e2e8f0;
  --ccs-text-main: #2d3748;
  --ccs-text-muted: #718096;
  --ccs-success: #10b981;
  --ccs-warning: #f59e0b;
  --ccs-danger: #ef4444;
  --ccs-radius: 12px;
  --ccs-shadow: 0 10px 25px -5px rgba(140, 82, 255, 0.1), 0 8px 10px -6px rgba(140, 82, 255, 0.05);
  --ccs-font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}

.ccs-calculator-container {
  box-sizing: border-box;
  font-family: var(--ccs-font-stack);
  color: var(--ccs-text-main);
  max-width: 650px;
  margin: 30px auto;
  background: var(--ccs-bg-card);
  border: 1px solid var(--ccs-border);
  border-radius: var(--ccs-radius);
  box-shadow: var(--ccs-shadow);
  padding: 30px;
  overflow: hidden;
}

.ccs-calculator-container * {
  box-sizing: border-box;
}

/* Header */
.ccs-header {
  text-align: center;
  margin-bottom: 24px;
}

.ccs-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ccs-secondary);
  margin: 0 0 8px 0;
}

.ccs-subtitle {
  font-size: 14px;
  color: var(--ccs-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Form Controls */
.ccs-form-group {
  margin-bottom: 18px;
}

.ccs-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ccs-secondary);
  margin-bottom: 6px;
  text-align: center;
}

.ccs-input-text,
.ccs-input-number {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--ccs-border);
  border-radius: 8px;
  background: var(--ccs-bg-subtle);
  color: var(--ccs-text-main);
  outline: none;
  text-align: center;
  transition: all 0.2s ease;
}

.ccs-input-text:focus,
.ccs-input-number:focus {
  border-color: var(--ccs-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(140, 82, 255, 0.15);
}

/* Date of Birth Container */
.ccs-dob-container {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.ccs-dob-field {
  flex: 1;
  text-align: center;
}

.ccs-dob-field label {
  font-size: 12px;
  color: var(--ccs-text-muted);
  margin-bottom: 4px;
}

.ccs-dob-field input {
  width: 100%;
  padding: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--ccs-border);
  border-radius: 8px;
  background: var(--ccs-bg-subtle);
  text-align: center;
  outline: none;
  transition: all 0.2s ease;
}

.ccs-dob-field input:focus {
  border-color: var(--ccs-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(140, 82, 255, 0.15);
}

/* Gender Selection Buttons */
.ccs-gender-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.ccs-btn-gender {
  flex: 1;
  max-width: 160px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--ccs-border);
  border-radius: 8px;
  background: var(--ccs-bg-subtle);
  color: var(--ccs-text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ccs-btn-gender.selected {
  background: var(--ccs-primary);
  color: #ffffff;
  border-color: var(--ccs-primary);
}

/* Calculate Button */
.ccs-btn-calc {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: var(--ccs-primary);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(140, 82, 255, 0.3);
}

.ccs-btn-calc:hover {
  background: var(--ccs-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* Result Box */
.ccs-result-box {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1.5px dashed var(--ccs-border);
  animation: ccsFadeIn 0.35s ease-out;
  scroll-margin-top: 80px;
}

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

/* Badges */
.ccs-badge {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  text-align: center;
  margin: 6px 0;
}

.ccs-badge-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.ccs-badge-warning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.ccs-badge-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Table Design */
.ccs-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
}

.ccs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.ccs-table th {
  background: var(--ccs-bg-subtle);
  color: var(--ccs-secondary);
  font-weight: 700;
  padding: 10px 14px;
  border: 1px solid var(--ccs-border);
}

.ccs-table td {
  padding: 10px 14px;
  border: 1px solid var(--ccs-border);
  color: var(--ccs-text-main);
}

.ccs-table td:nth-child(2) {
  font-weight: 600;
  color: var(--ccs-primary);
}

/* Lo Shu 3x3 Grid */
.ccs-loshu-grid-table {
  width: 260px;
  margin: 16px auto;
  border-collapse: collapse;
  table-layout: fixed;
}

.ccs-loshu-grid-table td {
  width: 33.33%;
  height: 70px;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  font-weight: 700;
  border: 2px solid var(--ccs-secondary);
  background: #ffffff;
  color: var(--ccs-secondary);
  transition: background 0.2s;
}

.ccs-loshu-grid-table td:hover {
  background: #f1f0ff;
}

/* Kua Badge & Circles */
.ccs-kua-circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  border-radius: 50%;
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.ccs-kua-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ccs-secondary);
}

.ccs-kua-element {
  text-align: center;
  font-size: 14px;
  color: var(--ccs-text-muted);
  margin-bottom: 16px;
}

.ccs-kua-box {
  background: var(--ccs-bg-subtle);
  border-left: 4px solid var(--ccs-primary);
  padding: 14px;
  border-radius: 6px;
  margin: 12px 0;
  text-align: left;
}

.ccs-kua-box h4 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--ccs-secondary);
}

.ccs-kua-box p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ccs-text-main);
}

.ccs-direction-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
  justify-content: center;
}

.ccs-pill {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
}

.ccs-pill-fav {
  background: #dcfce7;
  color: #166534;
}

.ccs-pill-unfav {
  background: #fee2e2;
  color: #991b1b;
}

/* Kundali Status Icons */
.ccs-icon {
  font-size: 13px;
  font-weight: 600;
  margin-left: 6px;
}

.ccs-icon-pass {
  color: var(--ccs-success);
}

.ccs-icon-fail {
  color: var(--ccs-danger);
}

/* WhatsApp Share Section */
.ccs-whatsapp-cta {
  text-align: center;
  margin-top: 24px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid #86efac;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.08);
}

.ccs-whatsapp-cta p {
  margin: 0 0 12px 0;
  font-size: 15px;
  font-weight: 700;
  color: #166534;
}

.ccs-btn-whatsapp {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: #25D366 !important;
  color: #ffffff !important;
  padding: 13px 26px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
  outline: none !important;
  -webkit-appearance: none !important;
  background-image: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
}

.ccs-btn-whatsapp:hover {
  background: #20BA56 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
}

.ccs-btn-whatsapp:active {
  transform: translateY(0) !important;
}

.ccs-btn-whatsapp svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  fill: #ffffff !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
}

/* Booking Consultation Link */
.ccs-consultation-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ccs-primary);
  text-decoration: none;
}

.ccs-consultation-link:hover {
  text-decoration: underline;
  color: var(--ccs-primary-hover);
}

.ccs-anchor-link {
  cursor: pointer;
  scroll-behavior: smooth;
}

/* -------------------------------------------------------------
 * 1-ON-1 CONSULTATION CARD (Every Calculator)
 * ----------------------------------------------------------- */

.ccs-consultation-card {
  margin-top: 24px;
  background: linear-gradient(145deg, #fbfaff 0%, #f4f0ff 100%);
  border: 1.5px solid #d8b4fe;
  border-radius: var(--ccs-radius);
  padding: 22px 20px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(140, 82, 255, 0.08);
}

.ccs-consultation-header {
  margin-bottom: 8px;
}

.ccs-consultation-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b21a8;
  background: #f3e8ff;
  border: 1px solid #d8b4fe;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.ccs-consultation-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--ccs-secondary);
}

.ccs-consultation-title .ccs-user-name-target {
  color: #8C52FF;
}

.ccs-consultation-insights {
  background: #ffffff;
  border: 1px solid #e9d5ff;
  border-left: 4px solid #8C52FF;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 12px 0 10px;
  font-size: 13px;
  line-height: 1.55;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(140, 82, 255, 0.05);
}

.ccs-consultation-insights .ccs-insight-item {
  margin-bottom: 6px;
}

.ccs-consultation-insights .ccs-insight-item:last-child {
  margin-bottom: 0;
}

.ccs-consultation-insights strong {
  color: #131938;
}

.ccs-consultation-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #334155;
  margin: 10px 0 16px;
}

.ccs-whatsapp-benefits {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.ccs-benefit-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #1e293b;
  font-weight: 600;
}

.ccs-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  background: #dcfce7;
  color: #166534;
  border-radius: 50%;
  font-size: 10.5px;
  font-weight: 800;
}

.ccs-whatsapp-note {
  font-size: 11.5px;
  color: #64748b;
  text-align: center;
  margin: 6px 0 0;
  line-height: 1.4;
}

.ccs-consultation-fee-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #ffffff;
  border: 1px dashed #8C52FF;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.ccs-fee-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ccs-fee-label {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
}

.ccs-fee-amount {
  font-size: 16px;
  color: #166534;
  font-weight: 800;
}

.ccs-fee-right {
  font-size: 12px;
  color: #475569;
  font-weight: 500;
}

.ccs-consultation-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ccs-btn-consultation {
  width: 100% !important;
  max-width: 440px !important;
  padding: 14px 28px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
}

/* Suite View & Tabs */
.ccs-suite-container {
  max-width: 780px;
  margin: 40px auto;
}

.ccs-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  justify-content: center;
}

.ccs-tabs-nav button {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--ccs-border);
  background: #ffffff;
  border-radius: 20px;
  color: var(--ccs-text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.ccs-tabs-nav button.active,
.ccs-tabs-nav button:hover {
  background: var(--ccs-primary);
  color: #ffffff;
  border-color: var(--ccs-primary);
}

.ccs-tab-pane {
  display: none;
}

.ccs-tab-pane.active {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .ccs-calculator-container {
    padding: 20px 16px;
    margin: 15px auto;
  }
  .ccs-title {
    font-size: 20px;
  }
  .ccs-dob-container {
    gap: 6px;
  }
  .ccs-dob-field input {
    padding: 8px 4px;
    font-size: 14px;
  }
}


/* -------------------------------------------------------------
 * FULL NUMEROLOGY REPORT STYLES & PDF OPTIMIZATION
 * ----------------------------------------------------------- */

.ccs-form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ccs-secondary);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ccs-bg-subtle);
}

.ccs-form-section-title span {
  width: 24px;
  height: 24px;
  background: var(--ccs-primary);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

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

@media (max-width: 600px) {
  .ccs-grid-two {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.ccs-report-header-banner {
  background: linear-gradient(135deg, #131938 0%, #2a164d 100%);
  color: #ffffff;
  padding: 18px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
}

.ccs-report-header-banner h3 {
  margin: 0 0 6px 0;
  font-size: 22px;
  color: #ffffff;
}

.ccs-report-header-banner p {
  margin: 0;
  font-size: 14px;
  color: #cbd5e1;
}

.ccs-report-subheading {
  font-size: 16px;
  font-weight: 700;
  color: var(--ccs-secondary);
  margin: 22px 0 10px;
  padding-left: 8px;
  border-left: 4px solid var(--ccs-primary);
}

.ccs-planes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 8px 0;
}

.ccs-plane-badge {
  background: #ede9fe;
  color: #5b21b6;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid #ddd6fe;
}

.ccs-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.ccs-btn-download-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
}

.ccs-btn-download-pdf:hover {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
  color: #ffffff;
}

/* -------------------------------------------------------------
 * PDF REPORT CANVAS STYLING (Captured by html2pdf & Print)
 * ----------------------------------------------------------- */

#ccs-pdf-printable-container {
  display: none !important;
  position: fixed !important;
  left: -99999px !important;
  top: -99999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -999999 !important;
}

.ccs-pdf-document {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='220' viewBox='0 0 320 220'%3E%3Ctext x='160' y='110' fill='rgba(140,82,255,0.06)' font-family='Arial, sans-serif' font-size='18' font-weight='800' text-anchor='middle' transform='rotate(-30 160 110)'%3ENUMEROLOGY BY NEHAA%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  color: #1a202c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  padding: 28px 32px;
  width: 760px;
  box-sizing: border-box;
  position: relative;
  font-size: 13px;
  line-height: 1.5;
}

.ccs-pdf-watermark {
  display: none;
}

.ccs-pdf-content {
  position: relative;
  z-index: 1;
}

/* Header in PDF */
.ccs-pdf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #8C52FF;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.ccs-pdf-logo-box img {
  height: 42px;
  width: auto;
  display: block;
}

.ccs-pdf-contact-box {
  text-align: right;
  font-size: 12px;
  color: #4a5568;
}

.ccs-pdf-contact-box strong {
  color: #8C52FF;
  font-size: 13px;
  display: block;
  margin-bottom: 2px;
}

/* Title banner */
.ccs-pdf-title-banner {
  background: #f8f6ff;
  border: 1px solid #e9d5ff;
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ccs-pdf-title-banner h2 {
  margin: 0;
  font-size: 17px;
  color: #131938;
}

.ccs-pdf-title-banner p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #64748b;
}

/* Tables inside PDF */
.ccs-pdf-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 16px;
  font-size: 12px;
}

.ccs-pdf-table th {
  background: #f1f0ff;
  color: #131938;
  font-weight: 700;
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  text-align: left;
}

.ccs-pdf-table td {
  padding: 6px 10px;
  border: 1px solid #cbd5e1;
  color: #2d3748;
}

.ccs-pdf-grid-section {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 14px 0;
}

.ccs-pdf-grid-table {
  width: 135px;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0 auto;
}

.ccs-pdf-grid-table td {
  width: 33.33%;
  height: 38px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid #131938;
  background: #ffffff;
  padding: 0;
  box-sizing: border-box;
}

.ccs-pdf-footer {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 11px;
  color: #718096;
}

.ccs-pdf-footer p {
  margin: 2px 0;
}

/* Print styles - Prevent any PDF wrapper from interfering with native printing */
@media print {
  #ccs-dynamic-pdf-wrapper,
  #ccs-pdf-printable-container {
    display: none !important;
    visibility: hidden !important;
  }
}

/* ==========================================================================
   Numerology Name Calculator Styles (Authentic Chaldean Layout)
   ========================================================================== */
.ccs-calc-status {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  margin: 15px 0 20px;
  text-align: center;
}

.ccs-analysis-title {
  text-align: center;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.ccs-name-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .ccs-name-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ccs-name-cards-grid {
    grid-template-columns: 1fr;
  }
}

.ccs-name-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ccs-name-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(140, 82, 255, 0.12);
}

.ccs-name-card h4 {
  margin: 0 0 6px;
  font-size: 12px;
  color: #475569;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ccs-name-card .ccs-card-value {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #8C52FF;
  line-height: 1.2;
}

.ccs-name-breakdown {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background-color: #f8fafc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.ccs-name-section-box {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 8px;
  background-color: #ffffff;
  border: 1px solid #edf2f7;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ccs-name-section-box:last-child {
  margin-bottom: 0;
}

.ccs-name-section-box h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.ccs-name-section-box p.ccs-calc-desc {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

.ccs-name-echo {
  font-size: 18px;
  font-weight: 700;
  color: #8C52FF;
  margin: 0;
  letter-spacing: 1px;
}

.ccs-responsive-container {
  overflow-x: auto;
  margin: 12px 0;
  -webkit-overflow-scrolling: touch;
}

.ccs-responsive-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 260px;
  background: #ffffff;
}

.ccs-responsive-table td {
  padding: 8px 10px;
  text-align: center;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
}

.ccs-responsive-table tr:first-child td {
  background-color: #f1f5f9;
  color: #475569;
  font-weight: 700;
}

.ccs-responsive-table tr:last-child td {
  background-color: #faf5ff;
  color: #8C52FF;
  font-weight: 800;
}

.ccs-calc-step {
  margin: 6px 0;
  font-size: 15px;
  color: #334155;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 600;
}

.ccs-calc-step.ccs-calc-final {
  font-size: 18px;
  color: #0f172a;
  font-weight: 800;
}

.ccs-impact-box {
  margin-top: 10px;
}

.ccs-impact-box h4 {
  margin: 12px 0 6px 0;
  font-size: 15px;
}

.ccs-impact-box h4:first-child {
  margin-top: 0;
}

.ccs-impact-box h4.ccs-lucky-title {
  color: #16a34a;
}

.ccs-impact-box h4.ccs-not-lucky-title {
  color: #dc2626;
}

.ccs-impact-box p {
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #334155;
}

.ccs-whatsapp-direct-share {
  margin-top: 24px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #86efac;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.08);
}

.ccs-whatsapp-direct-share p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ccs-btn-whatsapp-direct {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 360px !important;
  padding: 13px 26px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  color: #ffffff !important;
  background: #25D366 !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
  outline: none !important;
  -webkit-appearance: none !important;
  background-image: none !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
  transition: all 0.2s ease !important;
}

.ccs-btn-whatsapp-direct:hover {
  background: #20BA56 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
}

.ccs-btn-whatsapp-direct svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  fill: #ffffff !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
}


/* --- Additional Tools 10, 11, 12 Styles --- */
.ccs-three-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .ccs-three-cards-grid {
    grid-template-columns: 1fr;
  }
}

.ccs-hero-compound-box {
  background: linear-gradient(135deg, #f8faff 0%, #ede9fe 100%);
  border: 2px solid #c4b5fd;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(140, 82, 255, 0.1);
}

.ccs-hero-compound-number {
  font-size: 52px;
  font-weight: 800;
  color: #8C52FF;
  line-height: 1.1;
  margin: 6px 0;
}

.ccs-hero-compound-title {
  font-size: 18px;
  font-weight: 700;
  color: #131938;
  margin: 0;
}

.ccs-hero-compound-desc {
  font-size: 13.5px;
  color: #475569;
  margin: 6px 0 0;
}

.ccs-dob-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .ccs-dob-grid {
    grid-template-columns: 1fr;
  }
}

.ccs-synergy-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 6px;
}

.ccs-synergy-harmonious {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.ccs-synergy-neutral {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #7dd3fc;
}

.ccs-synergy-challenging {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}
