 /* 
    =====================
    This is the css file for terms page(in the root folder).
    ====================== 
*/

 body {
     padding-top: 80px;
     background-color: #102d19 !important;
     /* Your signature dark green */
     color: #ffffff;
 }

 /* terms head */
 .terms-header {
     padding: 60px 0;
     /* background: rgba(255, 255, 255, 0.05); */
     color:#ffc107;
     border-bottom: 1px solid rgba(255, 255, 255, 0.1);
     margin-bottom: 40px;
 }


 /* typing text */
 .typing-container {
     font-size: 1.25rem;
     font-weight: 600;
     color: #ffc107;
 }

 .input-cursor {
     display: inline-block;
     width: 2px;
     margin-left: 4px;
     color: #ffffff;
     animation: blink 0.8s steps(2, start) infinite;
 }

 @keyframes blink {

     0%,
     100% {
         opacity: 1;
     }

     50% {
         opacity: 0;
     }
 }



 /* legal  */
 .legal-card {
     background: rgba(255, 255, 255, 0.05);
     color: #f7eeee;
     border-radius: 0;
     /* Fully rounded for a soft look */
     padding: 10px;
     line-height: 1.8;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
 }

 .legal-section h4 {
     color: #198754;
     font-weight: 700;
     margin-top: 25px;
     margin-bottom: 15px;
 }

 .last-updated {
     font-style: italic;
     color: rgba(255, 255, 255, 0.6);
 }

 /* Custom scrollbar for long legal text */
 ::-webkit-scrollbar {
     width: 8px;
 }

 ::-webkit-scrollbar-thumb {
     background: #198754;
     border-radius: 10px;
 }

 /* accordion */
 .accordion {
     background-color: transparent;
     border: none;
 }

 /* 1. Remove the blue glow/outline when clicked */
 .accordion-button:focus {
     box-shadow: none !important;
     border-color: rgba(0, 0, 0, .125);
     /* Keeps a light border or set to transparent */
 }

 /* 2. Remove the light blue background that appears when the accordion is open */
 .accordion-button:not(.collapsed) {
     background-color: transparent !important;
     color: inherit !important;
     /* Keeps your text color from changing to blue */
     box-shadow: none !important;
 }

 /* 3. Optional: If you want a smooth hover instead of a sharp focus border */
 .accordion-button:hover {
     background-color: rgba(25, 135, 84, 0.05) !important;
     /* Very faint green tint */
 }


 /* ---------- Terms Accordion – Mobile Cleanup ---------- */
 @media (max-width: 767.98px) {
     .legal-card {
         /* padding: 20px !important; */
         /* was 40px, now more compact */
     }

     .legal-card p {
         text-align: center;
     }

     .accordion-item {
         box-shadow: none !important;
         /* remove shadow completely */
         margin-bottom: 0.5rem !important;
         /* smaller gap between items */
     }

     .accordion-button {
         padding: 0.75rem 1rem;
         /* slightly tighter header */
     }

     /* Optional: reduce body padding as well */
     .accordion-body {
         padding: 0.75rem 1rem;
     }
 }