/* Basic body and background */
body {
  background-color: #f4f6f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
}

/* Sticky footer support */
html, body {
  height: 100%;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Generator Tool Styles */
.tool-container {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.tool-container h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #0d6efd;
}

input.form-control,
select.form-select {
  border-radius: 10px;
}

button.btn-primary {
  font-weight: 500;
  font-size: 1rem;
  border-radius: 12px;
  background-color: #0d6efd;
  border: none;
  transition: background-color 0.3s;
}

button.btn-primary:hover {
  background-color: #0b5ed7;
}

#adBox,
.ad-box {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.ad-box h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.ad-box ul {
  padding-left: 1.2rem;
}

.ad-box ul li {
  font-size: 0.95rem;
  padding: 0.4rem 0;
}

.badge-result {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background-color: #198754;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 12px;
  margin-top: 1rem;
  box-shadow: 0 2px 5px rgba(25, 135, 84, 0.3);
}

#alertBox {
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

/* Fallback footer style if no external footer.css */
footer {
  background-color: #343a40;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.95rem;
  border-top: 1px solid #495057;
}
