@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;600;700&family=DM+Sans:wght@400;500;600;700&family=Noto+Serif+Devanagari:wght@400;600;700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@500,600,700&display=swap');

/* Base Colors */
:root {
  --background-white: #FFFFFF;
  --text-black: #000000;
  --topbar-pink: #FF69B4;
  --accent-light-gray: #E0E0E0;
  --accent-dark-pink: #FF1493;
  --link-blue: #007BFF;
  --link-dark-pink: #C71585;
  --text-white: #FFFFFF;
  --topbar-blue: #AECBFA;
  --accent-dark-blue: #E8F0FE;
  --link-dark-blue: #D2E3FC;
  
}

* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: linear-gradient(135deg, #f9f1ff, #e6f0ff);
      color: #1d1d1d;
    }

    header {
      background: white;
      padding: 1.2rem 3rem;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .logo {
      font-size: 1.5rem;
      font-weight: 700;
      color: #6C63FF;
    }

    nav .nav-link {
      margin-left: 2rem;
      text-decoration: none;
      color: #333;
      font-weight: 600;
    }

    nav .nav-link.active, nav .nav-link:hover {
      color: #6C63FF !important;
    }

    .hero {
      background: linear-gradient(to right, #f6e4ff, #dae2ea);
      padding: 80px 0;
    }

    .hero h1 {
      font-size: 3rem;
      font-weight: 700;
    }

    .hero p {
      font-size: 1.1rem;
      color: #555;
    }

    .hero .hero-right-box {
      position: relative;
      height: 480px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .hero .center-image {
      max-width: 340px;
      z-index: 2;
      animation: rotate 3s linear infinite;
      animation-duration: 60s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: cubic-bezier(0.59, 0.59, 1, 1);
    }

    .hero .icon {
      position: absolute;
      width: 60px;
      height: 60px;
      animation-duration: 2s;
      animation-iteration-count: infinite;
    }

    .hero .icon-top {
      top: 0;
      left: 45%;
      transform: translateX(-50%);
      animation-name: floatUpDown;
    }

    .hero .icon-bottom {
      bottom: 0;
      left: 46%;
      transform: translateX(-50%);
      animation-name: floatUpDown;
      animation-delay: 0.2s;
    }

    .hero .icon-left {
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      animation-name: floatLeftRight;
    }

    .hero .icon-right {
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      animation-name: floatLeftRight;
      animation-delay: 0.2s;
    }

    @keyframes floatUpDown {

      0%,
      100% {
        transform: translate(-50%, 0);
      }

      50% {
        transform: translate(-50%, 15px);
      }
    }

    @keyframes floatLeftRight {

      0%,
      100% {
        transform: translateY(-50%) translateX(0);
      }

      50% {
        transform: translateY(-50%) translateX(15px);
      }
    }

    .floating-icon {
      position: absolute;
      width: 50px;
      animation: floatUpDown 4s ease-in-out infinite;
      z-index: 0;
    }

    .icon-1 {
      top: 10%;
      left: 75%;
      animation-delay: 0s;
    }

    .icon-2 {
      top: 50%;
      left: 65%;
      animation-delay: 1s;
    }

    .icon-3 {
      top: 30%;
      left: 85%;
      animation-delay: 2s;
    }

    @keyframes floatUpDown {
      0% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-20px);
      }

      100% {
        transform: translateY(0);
      }
    }

    .services-section {
      padding: 60px 0;
      background: linear-gradient(to right, #f9f1ff, #e6f0ff);
    }

    .service-card {
      border-radius: 12px;
      padding: 2rem;
      text-align: center;
      transition: transform 0.3s ease;
    }

    .service-card img {
      width: 80px;
      height: 80px;
      margin-bottom: 1rem;
    }

    .service-card:hover {
      transform: translateY(-5px);
    }

    .pink-bg {
      background-color: #ffe0eb;
    }

    .purple-bg {
      background-color: #e3ddff;
    }

    .yellow-bg {
      background-color: #fff4cc;
    }

    .green-bg {
      background-color: #d1fce2;
    }

    .btn-primary-custom {
      background-color: #6C3BFF;
      border-color: #6C3BFF;
      color: white;
      font-weight: 600;
      border-radius: 50px;
      padding: 10px 20px;
      display: flex;
      align-items: center;
      gap: 10px;
      transition: all 0.4s;
    }

    .btn-primary-custom::after {
      position: absolute;
      content: "";
      height: 100%;
      width: 1px;
      left: 50%;
      transition: all 0.4s;
      top: 0;
      z-index: -1;
      background: #4d21d4;
      border-radius: 30px;
      visibility: hidden;
      opacity: 0;
    }

    .btn-primary-custom:hover::after {
      visibility: visible;
      opacity: 1;
      width: 100%;
      left: 0;
      transition: all 0.4s;
    }

    .btn-primary-custom:hover {
      transition: all 0.4s;
      transform: translateY(-5px);
      color: #fff;
    }

    .btn-outline-custom {
      border: 2px solid #6C3BFF;
      color: #6C3BFF;
      font-weight: 600;
      border-radius: 50px;
      padding: 10px 20px;
      display: flex;
      align-items: center;
      gap: 10px;
    }


    .btn-outline-custom:hover {
      background-color: #4d21d4;
      color: white;
      transition: all 0.4s;
      transform: translateY(-5px);
      border: 1px solid #6C3BFF;
    }

    .btn-outline-custom:hover .btn-arrow-icon {
      background-color: #fff;
      color: #4d21d4;
    }

    .btn-arrow-icon {
      background-color: white;
      color: #6C3BFF;
      border-radius: 50%;
      padding: 4px;
      width: 34px;
      height: 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-primary-custom .btn-arrow-icon {
      background-color: white;
      color: #6C3BFF;
    }

    .btn-outline-custom .btn-arrow-icon {
      background-color: #6C3BFF;
      color: white;
    }

    .contact-section {
      padding: 60px 0;
    }
    @keyframes rotate {
      from {
        transform: rotate(0deg);
      }
      to {
        transform: rotate(360deg);
      }
    }

    
    .info-card {
      background-color: #111;
      color: #fff;
      padding: 30px;
      border-radius: 10px;
    }
    .info-card i {
      font-size: 1.8rem;
      background: #333;
      color: white;
      border-radius: 50%;
      padding: 15px;
      margin-right: 20px;
    }
    .form-card {
      background-color: #fff;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    }
    .contact-section .form-control{
     
      padding: 16px;
      border: 1px solid #E6E6E6;
      border-radius: 8px;
      margin-top: 24px;
    }
    .footer {
      background: #fff;
      padding: 50px 20px 20px;
      font-family: Arial, sans-serif;
      color: #333;
    }

    .footer .logo-text {
      font-size: 1.5rem;
      font-weight: bold;
      color: #6C3BFF;
      margin-left: 10px;
    }

    .footer .social-icons a {
      width: 35px;
      height: 35px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background-color: #f2f2f2;
      border-radius: 50%;
      margin-right: 10px;
      color: #6C3BFF;
      text-decoration: none;
      font-size: 1.2rem;
    }

    .footer .subscribe-btn {
      background-color: #6C3BFF;
      color: #fff;
      padding: 8px 20px;
      border-radius: 25px;
      border: none;
    }

    .footer .subscribe-btn i {
      margin-left: 5px;
    }

    .footer-bottom {
      border-top: 1px solid #e0e0e0;
      margin-top: 30px;
      padding-top: 15px;
      font-size: 14px;
    }

    .footer a {
      text-decoration: none;
      
      color: #3d4c5e;
      display: inline-block;
      margin-top: 20px;
      transition: all 0.4s;
    }

    .footer a:hover {
      
      padding-left: 5px;
      transition: all 0.4s;
      color: #6C63FF;
    }
 
   


/* Global Styles */
body {
  background-color: var(--background-white);
  color: var(--text-black);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/*a {
  color: var(--link-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}
*/
/*a:hover {
  color: var(--link-dark-pink);
}*/

.field_has_error{border:1px solid red;}  
.custom_btn{color:color: var(--link-blue);;}
.custom_btn:hover{color: var(--link-dark-pink);}

/* Top Bar */
.top-bar {
  background-color: var(--topbar-pink);
  padding: 10px 20px;
  color: var(--background-white);
  text-align: center;
  font-weight: bold;
}

/* Buttons */
/*button,
.btn {
  background-color: var(--topbar-blue);
  color: var(--background-black);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
   
}*/

/*button:hover,
.btn:hover, .btn:active, .btn:focus {
  background-color: var(--link-dark-blue);
  color: var(--text-black);
   border: none;
   box-shadow:0 0 0 0  !important;
}*/

/* Borders and Containers */

.card,
input,
textarea {
  border: 1px solid var(--accent-light-gray);
  padding: 10px;
  border-radius: 4px;
  /*margin-top:30px;*/
}

/* Optional utility classes */
.text-black {
  color: var(--text-black);
}

.bg-white {
  background-color: var(--background-white);
}

.bg-pink {
  background-color: var(--topbar-pink);
}

.bg-blue {
  background-color: var(--topbar-blue);
}

h1, h2, h3, h4, h5, h6 {
  /*background-color: var(--accent-light-gray);*/
  color: var(--text-black);
  padding: 10px;
}

.prompt_hide {
    display: none;
    color: red;
    border: 1px solid;
    padding: 10px;
}

.heading{
  background-color: var(--link-dark-blue);
    color: var(--text-black);
    padding: 10px;
}
/*.navbar-light .navbar-nav .nav-link {
    color: var(--text-black);
}
*/
.question_fields{min-height: 158px;    width: 100%;}

.anchor_btn {cursor: pointer;}
.shortcut_text_symbol{font-size:13px;}

.panchanga_details_class ul {
    display: flex;
    /* list-style: none; */
    border-bottom: 1px solid #aba0a0;
    padding: 11px;
}
  
.panchanga_details_class ul li {margin-right: 51px; }

/* Hide deprecated strength summary UI blocks if they are injected from legacy markup. */
.strength-sections,
.strength-block {
    display: none !important;
}

.table-responsive {
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

@media print {
    .navbar,
    footer,
    .d-print-none,
    .modal,
    #ajax-loader-custom {
        display: none !important;
    }

    body {
        background: #ffffff;
    }

    .form-card {
        box-shadow: none !important;
        padding: 0 !important;
        border: none !important;
    }

    .table-responsive {
        border: none;
    }
}

@media (max-width: 576px) {

    .list-group-item {
        padding: 0.5rem 0.75rem;
    }
}


/* square chart start */
.square_chart {	display: grid;	grid-template-areas:		"c3 c2 c1"		"c4 c0 c12"		"c5 c6 c7"		"c8 c9 c10";	gap: 5px;	width: 300px;	height: 300px;}
.square_chart .cell {	border: 1px solid black;	text-align: center;	line-height: 25px;	font-size: 14px;	position: relative;}
.square_chart  .cell .content {	position: absolute;	top: 10%;	left: 10%;	font-size: 12px;}
.square_chart .c1 { grid-area: c1; }
.square_chart .c2 { grid-area: c2; }
.square_chart .c3 { grid-area: c3; }
.square_chart .c4 { grid-area: c4; }
.square_chart .c5 { grid-area: c5; }
.square_chart  .c6 { grid-area: c6; }
.square_chart  .c7 { grid-area: c7; }
.square_chart .c8 { grid-area: c8; }
.square_chart .c9 { grid-area: c9; }
.square_chart .c10 { grid-area: c10; }
.square_chart .c12 { grid-area: c12; }
.square_chart .c0 { grid-area: c0; }
/* square chart end */

/* north indian chart start */
  .northindianchart_wrapper {
            height: 450px; /* Increased height */
            width: 450px; /* Increased width */
            border: 3px solid #000;
            margin: 20px auto;
            float: none;
            overflow: hidden;
            position: relative; /* Ensure text is positioned properly */
            background-color: #dbd5d5;
        }

        .northindianchart_wrapper .sub {
            height: 321px; /* Proportional inner square height */
            width: 323px; /* Proportional inner square width */
            border: 3px solid #000;
            transform: rotate(45deg);
            position: absolute;
            top: 60px; /* Adjusted to center */
            left: 60px; /* Adjusted to center */
        }

        .northindianchart_wrapper .line1 {
            height: 785px;
            width: 1011px; /* Adjusted for the larger layout */
            border-bottom: 3px solid #000;
            transform: rotate(135deg);
            position: absolute;
            top: 155px;
            left: -55px;
        }

        .northindianchart_wrapper .line2 {
            height: 257px;
            width: 1040px; /* Adjusted for the larger layout */
            border-top: 3px solid #000;
            transform: rotate(-135deg);
            position: absolute;
           top: 149px;
    left: -62px;

        }

        .northindianchart_wrapper p {
            margin: 0;
            position: absolute;
            font-size: 16px; /* Increased font size for better visibility */
            text-align: center; /* Center align text */
        }

        .northindianchart_wrapper .p1 {top: 9px;left: 98px;}
        .northindianchart_wrapper .p2 {top: 10px;left: 317px;}
        .northindianchart_wrapper .p3 {top: 79px;left: 36px;}
        .northindianchart_wrapper .p4 {top: 77px;left: 197px;}
        .northindianchart_wrapper .p5 {top: 79px;left: 368px;}
        .northindianchart_wrapper .p6 {top: 186px;left: 96px;}
        .northindianchart_wrapper .p7 {top: 192px;left: 324px;}
        .northindianchart_wrapper .p8 {top: 304px;left: 17px;}
        .northindianchart_wrapper .p9 {top: 309px;left: 210px;}
        .northindianchart_wrapper .p10 {top: 306px;left: 394px;}
        .northindianchart_wrapper .p11 {top: 379px;left: 95px;}
        .northindianchart_wrapper .p12 {top: 370px;left: 319px;}
/* north indian chart end */

.dasha_wrapper ul {
    list-style: none;
    padding: 10px;
}
.accordion-button.collapsed {
    background-color: var(--link-dark-blue);
   
}
.accordion-button:not(.collapsed) {
    
    background-color: var(--link-dark-blue);
    color: var(--text-black);
   
}

.kundlibirthdetails_wrapper{/*margin-top:30px;*/}
.kundli_details{margin-top:10px;}

.accordion-header {
    background-color: #d2e3fc;
    color: var(--text-black);
    padding: 10px;
}

.table_border {
    border: 1px solid #cbc8c8;
  
}

.logo img {
    width: 105px;
    height: 80px;
}

.error_field{ border: 2px solid red !important;}

.ajax-loader-overlay{
	display: none;
	position: fixed;
	top: 0; left: 0;
	width: 100vw; height: 100vh;
	background: rgba(0, 0, 0, 0.4);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	/*cursor: not-allowed;*/
}

.ajax-loader-overlay  .spinner-border {width: 3rem; height: 3rem;}


/* Card Container Styling */
#payment-form #card-element, #payment-form #card-number, #payment-form #card-expiry, #card-cvc {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 12px;
}

#payment-form {
    /*max-width: 400px;*/
    margin: 20px auto;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#payment-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
}

#payment-form button {
    background: #6772e5;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}


.generate_kundali_btn_wrapper{

	display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.dasha_wrapper {
  margin-top: 20px;
}

.dasha_wrapper .sub-heading-dasha {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
}

.dasha_wrapper .accordion-button {
  background: #e9f2ff;
  font-weight: 600;
  color: #1a1a1a;
}

.dasha_wrapper .accordion-item.dasha .accordion-button:not(.collapsed) {
  background: #007bff;
  color: #fff;
}

.dasha_wrapper .accordion-item {
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.dasha_wrapper .antradasha .accordion-button {
  background: #f7faff;
  font-size: 0.95rem;
  font-weight: 500;
  padding-left: 2rem;
}

.dasha_wrapper .antradasha ul li {
  list-style: none;
  padding: 6px 15px;
  border-left: 3px solid #007bff;
  margin: 5px 0;
  background: #f8f9fa;
  border-radius: 4px;
}



.life-area-section .life-area-btn[aria-expanded='true'] {
    background-color: #6d3cff;
    color: #ffffff;
}
.life-area-section #lifeAreaAccordion .accordion-header{display:none;}
.life-area-section #lifeAreaAccordion .accordion-item {    border: 0px;}
.life-area-section #lifeAreaAccordion  {    border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);}


 @media only screen and (max-width: 768px) {
 
 .chat_outer {overflow: scroll;}
      .hero h1 {
        font-size: 2rem;
      
     }
     .hero {
        padding: 20px 0;
    }
    .hero .hero-right-box {
     height: 350px;
      
    }
    .hero .center-image{
      max-width: 200px;
    }
    }

/* ============================================================
   AI Predictions (Predictions tab + free-predictions page)
   Renders the formatted reading: charts-used position tables,
   classical-Vedic reading, and the collapsible debug panel.
   ============================================================ */
.pred-reading { color: #2c2c3a; line-height: 1.65; }
.pred-reading h5.ai-h {
    font-size: 1.05rem; font-weight: 700; color: #2c2c3a;
    margin-top: 1.4rem; margin-bottom: .6rem;
}
.pred-reading h6.ai-h {
    font-size: .95rem; font-weight: 700; color: #4a2cc4;
    margin-top: 1.1rem; margin-bottom: .45rem;
}
.pred-reading p { margin-bottom: .8rem; }
.pred-reading ul, .pred-reading ol { margin-bottom: .9rem; padding-left: 1.3rem; }
.pred-reading li { margin-bottom: .25rem; }

/* Tables (both our computed position tables and the model's audit table) */
.pred-reading table.ai-table,
.pred-reading table.ai-pos-table,
.pred-charts-used table {
    width: 100%; margin: .4rem 0 1rem; font-size: .88rem; background: #fff;
}
.pred-reading table.ai-table th,
.pred-reading table.ai-pos-table th,
.pred-charts-used table th {
    background: #f1ecff; color: #3a2a6a; font-weight: 600; white-space: nowrap;
}
.pred-reading table.ai-table td,
.pred-reading table.ai-pos-table td,
.pred-charts-used table td { vertical-align: middle; }
.pred-reading table.ai-table tbody tr:nth-child(odd),
.pred-charts-used table tbody tr:nth-child(odd) { background: #faf9ff; }

.pred-charts-used h5.ai-h { margin-top: 0; }
.pred-charts-used h6.ai-h { color: #6C3BFF; margin-top: .8rem; }
.pred-divider { border-top: 2px solid #e3ddff; }

/* Collapsible prompt / raw-response debug panel */
.pred-debug-pre {
    background: #15131f; color: #e9e4ff; padding: .8rem .9rem; border-radius: 6px;
    max-height: 360px; overflow: auto; white-space: pre-wrap; word-break: break-word;
    font-size: .78rem; line-height: 1.45; margin-bottom: 0;
}

/* ============================================================
   EDITORIAL POLISH (inspired by the "Genesis" design system)
   Additive refinement layer — typography, neutral color tokens,
   flat "gallery-frame" elevation, backdrop-blur nav, focus rings.
   Deliberately does NOT touch chart CSS (.square_chart,
   .northindianchart_wrapper) or the brand pill buttons.
   Safe to remove this whole block to revert.
   ============================================================ */
:root {
    /* Editorial neutral scale — never pure black/white for text */
    --ed-display-font: 'General Sans', 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
    --ed-body-font: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --ed-text-primary: #0A0A0A;   /* near-black, not #000 */
    --ed-text-secondary: #6B6B6B; /* descriptions, metadata */
    --ed-border: #E8E8EC;         /* subtle, recessive borders */
    --ed-surface: #FFFFFF;
    --ed-indigo: #6C3BFF;         /* keep the existing brand indigo */
    --ed-indigo-ring: rgba(108, 59, 255, 0.14);
    --ed-lift-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Body & UI text → humanist DM Sans */
body {
    font-family: var(--ed-body-font);
    color: var(--ed-text-primary);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Headings → geometric General Sans with tight editorial tracking.
   (Devanagari/mantra text keeps its serif via the rules below.) */
h1, h2, h3, h4, h5, h6,
.hero h1, .logo, .footer .logo-text {
    font-family: var(--ed-display-font);
    letter-spacing: -0.03em;
    color: var(--ed-text-primary);
}
.hero h1, h1 { letter-spacing: -0.04em; }

/* Preserve Devanagari / Sanskrit serif rendering where it's used */
.devanagari, .mantra, [lang="sa"], [lang="hi"],
.pred-reading .devanagari {
    font-family: 'Noto Serif Devanagari', 'Crimson Pro', serif !important;
    letter-spacing: normal;
}

/* Muted text → softer secondary neutral (Bootstrap's .text-muted) */
.text-muted { color: var(--ed-text-secondary) !important; }

/* ---- Flat "gallery-frame" elevation ------------------------------
   Cards rest flat with a 1px subtle border and lift only on hover. */
.card {
    border: 1px solid var(--ed-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* Neutralise resting drop-shadows on static cards (Bootstrap util). */
.card.shadow-sm { box-shadow: none !important; }
.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ed-lift-shadow) !important;
}
/* The Vedic Uday hub service tiles get the same lift treatment. */
.service-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.service-card:hover { box-shadow: var(--ed-lift-shadow); }

/* ---- Navigation: backdrop-blur elevation instead of a shadow ----- */
header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    box-shadow: none;
    border-bottom: 1px solid var(--ed-border);
}
nav .nav-link {
    transition: color 0.15s ease;
    letter-spacing: -0.01em;
}

/* ---- Focus rings: 3px indigo, accessible & polished -------------- */
.form-control:focus,
input:focus,
textarea:focus,
select:focus,
.btn:focus-visible,
a.nav-link:focus-visible {
    outline: none;
    border-color: var(--ed-indigo);
    box-shadow: 0 0 0 3px var(--ed-indigo-ring) !important;
}

/* ---- Dropdowns / popovers: soft shadow-lg ------------------------ */
.dropdown-menu {
    border: 1px solid var(--ed-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    padding: 6px;
}
.dropdown-item { border-radius: 6px; }

/* ---- Refine (not replace) the brand pill buttons ---------------- */
.btn-primary-custom, .btn-outline-custom {
    letter-spacing: -0.01em;
    box-shadow: none;
}
.btn-primary-custom:hover {
    box-shadow: 0 6px 18px rgba(108, 59, 255, 0.30);
}

@media (max-width: 768px) {
    /* Blur can be heavy on mobile; fall back to an opaque bar. */
    header {
        background: #ffffff;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}
