:root {
      --primary: #2f80ed;
      --background-light: #f9f9f9;
      --background-dark: #1e1e1e;
      --text-light: #f1f1f1;
      --text-dark: #333;
      --button-light: #2f80ed;
      --button-dark: #444;
    }

    body {
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      background: var(--background-light);
      color: var(--text-dark);
      margin: 0;
      padding: 0;
      line-height: 1.6;
      transition: background 0.5s ease, color 0.5s ease;
    }

    header {
      background: var(--primary);
      color: white;
      padding: 2rem 1rem;
      text-align: center;
    }

    header h1 {
      margin: 0;
      font-size: 2rem;
    }

    main {
      max-width: 800px;
      margin: auto;
      background: var(--background-light);
      padding: 2rem;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
      border-radius: 8px;
      margin-top: -1.5rem;
      transition: background 0.5s ease, color 0.5s ease;
    }


    h2 {
      color: var(--primary);
      margin-top: 2rem;
    }

    p, li {
      font-size: 1rem;
      margin: 0.5rem 0;
    }

    ul {
      padding-left: 1.5rem;
    }

    footer {
      text-align: center;
      padding: 1rem;
      font-size: 0.9rem;
      color: #777;
      background: transparent;
    }

    /* Dark Mode */
    .dark-mode {
      background: var(--background-dark);
      color: var(--text-light);
    }

    .dark-mode main {
      background: var(--background-dark);
      color: var(--text-light);
    }
.md-container{
background: var(--background-dark);
      color: var(--text-light);
      }
      .dark-mode .Checkment{
      color: #fff;
      }
    .dark-mode header,
    .dark-mode footer {
      background: #111;
      color: #bbb;
    }
/* When dark mode is active */
   .dark-mode .back-button svg {
   fill: white; /* White color in dark mode */
   }
    /* Toggle Switch */
    .theme-toggle {
      position: fixed;
      top: 1rem;
      right: 1rem;
      background: none;
      border: none;
      cursor: pointer;
      width: 60px;
      height: 30px;
      z-index: 1000;
    }

    .toggle-switch {
      width: 100%;
      height: 100%;
      background-color: #ddd;
      border-radius: 15px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 3px;
      position: relative;
      transition: background-color 0.3s;
    }

    .toggle-switch svg {
      width: 20px;
      height: 20px;
      fill: #333;
      z-index: 2;
    }

    .slider {
      position: absolute;
      top: 3px;
      left: 3px;
      width: 24px;
      height: 24px;
      background-color: #333;
      border-radius: 50%;
      transition: transform 0.3s;
      z-index: 1;
    }

    .dark-mode .toggle-switch {
      background-color: #555;
    }

    .dark-mode .toggle-switch svg {
      fill: #f1f1f1;
    }

    .dark-mode .slider {
      background-color: #f1f1f1;
      transform: translateX(30px);
    }
    
    .ad-container {
    max-width: 300px;
    min-height: 100px;
    margin: 1rem auto;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    }
    
    .ad-container small {
    position: absolute;
    top: -1.25rem;
    font-size: 0.75rem;
    color: #888;
    }
    
    @media (max-width: 600px) {
    main {
    padding: 1rem;
    }
    .ad-container {
    max-width: 90%;
    padding: 0.5rem;
    }
    }
    .effective-date-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    }
    
    .effective-date-container p {
    margin: 0;
    }
    
    header {
    background-color: #492e3e;
    color: #fff;
    text-align: center;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }