/* Base styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5faf7;
  margin: 0;
  padding: 40px 16px;
}

/* Centers content inside a wrapper */
.container {
  max-width: 480px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}


/* Main container */
.container {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
}

/* Headings */
h1 {
  text-align: center;
  color: #2b6653;
  margin-bottom: 20px;
  font-size: 1.8rem;
  line-height: 1.3;
}

h2 {
  color: #2b6653;
  margin-top: 32px;
  font-size: 1.25rem;
}

/* Labels and Inputs */
label {
  display: block;
  margin-top: 18px;
  margin-bottom: 6px;
  font-weight: bold;
  color: #444;
}

input[type="text"],
input[type="number"],
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #c6d9cf;
  border-radius: 8px;
  font-size: 16px;
  background-color: #f7fdfc;
  box-sizing: border-box;
}

select {
  margin-top: 6px;
}

/* Button */
button {
  width: 100%;
  padding: 14px;
  margin-top: 24px;
  background-color: #2b6653;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #235340;
}

/* Result box */
#result {
  margin-top: 24px;
  padding: 15px;
  background-color: #e7f5ed;
  border-left: 4px solid #2b6653;
  border-radius: 8px;
  color: #2b6653;
  font-size: 16px;
}

/* Radio group */
.radio-group {
  margin-top: 20px;
}

.group-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: #444;
}

.radio-option {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.radio-option input[type="radio"] {
  margin-right: 10px;
  accent-color: #2b6653;
}

/* List examples */
ul {
  padding-left: 20px;
  margin-top: 10px;
}

ul li {
  margin-bottom: 8px;
}

/* Footer */
footer {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: #555;
  padding: 0 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}


footer hr {
  margin: 30px 0;
}

footer a {
  color: #2b6653;
  text-decoration: underline;
}

/* --------------------------------- */
/* 🔄 RESPONSIVE TWEAKS FOR MOBILE 📱 */
/* --------------------------------- */
@media (max-width: 500px) {
  body {
    padding: 24px 12px;
  }

  .container {
    padding: 20px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  button {
    font-size: 16px;
    padding: 12px;
  }

  #result {
    font-size: 15px;
  }

  input[type="text"],
  input[type="number"],
  select {
    font-size: 15px;
  }

  footer {
    font-size: 13px;
  }
}

.share-section {
  text-align: center;
  margin-top: 20px;
}

.share-link {
  font-size: 16px;
  color: #2b6653;
  text-decoration: underline;
  font-style: italic;
  transition: color 0.2s ease;
}

.share-link:hover {
  color: #1a4436;
}

