/* ===================================================================
   YDPAT - Privacy Notice Stylesheet
   -------------------------------------------------------------------
   1. Root Variables & Base Styles
   2. Main Container Layout
   3. Typography (Headings, Paragraphs)
   4. Button Styling
   5. 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 {
  /* Use Google's Poppins font for consistency */
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--off-white);
  color: var(--gray-text);

  /* Flexbox to perfectly center the notice box */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem; /* Add padding for smaller screens */
  box-sizing: border-box;
}

/* === 2. MAIN CONTAINER LAYOUT === */
.notice-container {
  background-color: var(--white);
  padding: 3rem 4rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  width: 100%;

  /* Adds a premium, official "letterhead" feel */
  border-top: 6px solid var(--primary-green);
  text-align: center;
}

/* === 3. TYPOGRAPHY (HEADINGS, PARAGRAPHS) === */
.notice-container h1 {
  color: var(--dark-green);
  margin-bottom: 2rem;
  font-weight: 700;
  font-size: 2.2rem;
}

/* Overriding Bootstrap's default green with our brand green */
.notice-container h1 .text-success {
  color: var(--primary-green) !important;
}

.notice-container p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: left; /* Left-align paragraphs for easy reading */
  margin-bottom: 1.5rem;
}

.notice-container p strong {
  color: var(--dark-text);
  font-weight: 600;
}

/* === 4. BUTTON STYLING === */
.btn-policy {
  display: inline-block;
  background-color: var(--accent-gold);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.btn-policy:hover {
  background-color: #c9982d; /* A darker gold for the hover state */
  color: var(--white);
  transform: translateY(-3px);
}


/* === 5. MOBILE RESPONSIVENESS === */
@media (max-width: 768px) {
  body {
    padding: 1rem;
    align-items: flex-start; /* Align to top on mobile */
    padding-top: 2rem;
  }

  .notice-container {
    padding: 2rem;
  }

  .notice-container h1 {
    font-size: 1.8rem;
  }

  .notice-container p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .btn-policy {
    width: 100%; /* Make button full-width for easy tapping */
    padding: 16px;
  }
}