/* ===================================================================
   YDPAT - Privacy Policy Stylesheet
   -------------------------------------------------------------------
   1. Root Variables & Base Styles
   2. Navbar Overrides
   3. Main Content Card & Typography
   4. Privacy Article Structure
   5. Table Styling
   6. Consent & Action Buttons
   7. Footer
   8. Mobile Responsiveness
=================================================================== */

/* === 1. ROOT VARIABLES & BASE STYLES === */
:root {
  --primary-green: #005a18;
  --dark-green: #004d00;
  --accent-gold: #e0ab34;
  --light-bg: #d7e3d9;
  --off-white: #f8f9fa;
  --white: #ffffff;
  --dark-text: #212529;
  --gray-text: #5a6a62;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--off-white);
  color: var(--gray-text);
  padding-top: 100px; /* Adjust for fixed navbar height */
}

/* === 2. NAVBAR OVERRIDES === */
.navbar {
  background-color: var(--primary-green) !important;
  transition: padding 0.3s ease;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-gold) !important;
}

/* Override Bootstrap's default primary button for our brand */
.navbar .btn-primary {
  background-color: var(--accent-gold) !important;
  border-color: var(--accent-gold) !important;
  padding: 8px 20px !important;
  font-weight: 600;
}
.navbar .btn-primary:hover {
  background-color: #c9982d !important;
  border-color: #c9982d !important;
}

/* === 3. MAIN CONTENT CARD & TYPOGRAPHY === */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 77, 0, 0.08) !important;
  border-top: 6px solid var(--primary-green);
}

.card-body h1 {
  color: var(--dark-green);
  font-weight: 700;
}
.card-body h1 .fa-user-shield {
  color: var(--primary-green);
}

.card-body p {
  line-height: 1.8;
  font-size: 1.05rem;
}

/* === 4. PRIVACY ARTICLE STRUCTURE === */
.privacy-article {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

.section-title {
  color: var(--primary-green);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.privacy-article ul {
  list-style: none;
  padding-left: 0;
}

.privacy-article ul li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

/* Custom list bullets for a professional look */
.privacy-article ul li::before {
  content: '\f058'; /* FontAwesome check-circle solid icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary-green);
  position: absolute;
  left: 0;
  top: 5px;
}

/* === 5. TABLE STYLING === */
.table {
  font-size: 0.95rem;
}

.table thead {
  background-color: var(--light-bg) !important;
  color: var(--dark-green);
  font-weight: 600;
}

.table-bordered {
  border-color: #dee2e6;
}

/* === 6. CONSENT & ACTION BUTTONS === */
.consent-box {
  background-color: var(--off-white);
  border: 1px solid #dee2e6;
  padding: 2rem;
  margin-top: 2.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#consentCheckbox {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  accent-color: var(--primary-green); /* Styles the checkmark color */
}

#consentCheckbox:hover {
  cursor: pointer;
}
.consent-box label:hover {
  cursor: pointer;
}

.btn-register {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: white;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
   transition: all 0.3s ease 0.1s; /* Delay of 0.1s */
}

.btn-register:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
  color: white;
  transform: translateY(-3px);
}



.btn-register.active:hover {
  background-color: #003f00;
  border-color: #003f00;
  transform: translateY(-3px);
}

.btn-register.active {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
}

/* Style for the disabled link state */
.disabled-link {
  pointer-events: none;
  opacity: 0.5;
}

/* === 7. FOOTER === */
footer {
  background-color: var(--dark-green);
}
footer strong {
  color: var(--white);
}

/* === 8. MOBILE RESPONSIVENESS === */
@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }
  .card-body {
    padding: 1.5rem !important;
  }
  .card-body h1 {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .card-body p,
  .privacy-article ul li {
    font-size: 0.95rem;
  }
  .btn-register {
    width: 100%;
  }
}