/* <style> */
    /* 🌈 Background */
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0; padding: 0;
      /* background: linear-gradient(135deg, #667eea, #764ba2); */
      background: linear-gradient(135deg, #6dd5ed, #2193b0);
      color: #333;
    }

    /* 🌟 Header */
    header {
      background: rgba(0,0,0,0.7);
      color: #fff;
      text-align: center;
      padding: 1rem;
      box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    }
    header h1 { margin: 0; font-size: 2.4rem; }
    header p { margin: 0.5rem 0; font-size: 1.2rem; }
    nav {
      margin-top: 1rem;
    }
    nav a {
      color: #fff;
      margin: 0 1rem;
      text-decoration: none;
      font-weight: 600;
    }
    nav a:hover { color: #ffd700; }

    .age-calculator{
      padding: 0.5rem;
      background: rgba(255, 255, 255, 0.759);
      border-radius: 16px;
      box-shadow: 0 5px 8px rgba(0,0,0,0.25);
      backdrop-filter: blur(8px);
    }
    /* 🌟 Main Box */
    main {
      /* max-width: 900px; */
      max-width: 1100px;
      margin: 2rem auto;
      /* padding: 2rem; */
      padding: 1.5rem;
      background: rgba(255,255,255,0.9);
      border-radius: 16px;
      box-shadow: 0 8px 25px rgba(0,0,0,0.25);
      backdrop-filter: blur(8px);
    }

    /* h2 { color: #764ba2; margin-top: 0; } */
    h2 { color: #2193b0; margin-top: 0; }

    /* 📅 Date Selector */

.date-selectors-container {
  /* display: flex; */
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin: 1rem 0;
  font-family: Arial, sans-serif;
}

.date-selectors-container p {
  font-weight: bold;
  margin: 0 0 0.5rem 0;
  color: #2193b0;
}

.date-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.select-wrapper {
  position: relative;
  min-width: 90px;
  flex: 1; /* responsive width */
}

/* Select with custom arrow */
.select-wrapper select {
  width: 100%;
  padding: 0.8rem 1.2rem 0.4rem 0.5rem;
  border: 2px solid #2193b0;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff url('data:image/svg+xml;utf8,<svg fill="none" stroke="%232193b0" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 9l6 6 6-6"/></svg>') no-repeat right 0.5rem center;
  background-size: 1rem;
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-wrapper select:hover,
.select-wrapper select:focus {
  border-color: #667eea;
  box-shadow: 0 0 5px rgba(33, 147, 176, 0.6);
  outline: none;
}

/* Optional floating labels */
.select-wrapper label {
  position: absolute;
  top: 50%;
  left: 0.6rem;
  color: #999;
  font-size: 0.9rem;
  pointer-events: none;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.select-wrapper select:focus + label,
.select-wrapper select:not([value=""]) + label {
  top: -0.5rem;
  left: 0.4rem;
  font-size: 0.75rem;
  background: #fff;
  padding: 0 0.2rem;
  color: #2193b0;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .date-row {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .select-wrapper {
    min-width: 70px;
    flex: 1;
  }

  .select-wrapper select {
    padding: 0.6rem 1rem 0.3rem 0.5rem;
    font-size: 0.95rem;
  }
}

.dob-selector{
  margin:1.5rem 0rem;
}

.age-selector{
  margin:1.5rem 0rem;
}












    /* 🔘 Button */
    button {
      background: linear-gradient(135deg, #2193b0, #2193b0);
      color: white;
      border: none;
      padding: 0.9rem 1.8rem;
      margin-top: 1rem;
      border-radius: 30px;
      cursor: pointer;
      font-size: 1.1rem;
      transition: background 0.3s ease;
      display: block;
      margin-left: auto;
      margin-right: auto; 
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    button:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(118,75,162,0.4);
    }

    /* 📊 Result */
    #result {
      margin-top: 1.5rem;
      font-size: 1.4rem;
      font-weight: bold;
      color: #667eea;
      text-align: center;
    }



    /* 📖 Sections */
    section { margin-bottom: 2rem; }
    ul { padding-left: 1.2rem; }

    /* 📌 Footer */
    footer {
      text-align: center;
      padding: 1.5rem;
      margin-top: 2rem;
      /* background: rgba(0,0,0,0.85); */
       background: rgba(0,0,0,0.7);
      color: white;
    }
    footer a { color: #ffd700; text-decoration: none; margin: 0 0.5rem; }
    footer a:hover { text-decoration: underline; }

    table {
  width: 80%;
  max-width: 500px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
td, th {
  padding: 12px;
  border: 1px solid #ddd;
}
tr:nth-child(even) {
  background: #f9f9f9;
}

  /* </style> */