/* General Layout */
body {
  font-family: "Segoe UI", Roboto, system-ui, sans-serif;
  background: #f5f7fa;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
}

/* Hero Section */
.subscribe-alerts-hero {
  text-align: center;
  padding: 2.5rem 1.5rem 0rem;
  background: linear-gradient(to right, #003366, #005fa3);
  color: #fff;
  border-radius: 0 0 1.5rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.subscribe-alerts-hero h1 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.subscribe-alerts-hero p {
  max-width: 650px;
  margin: 0 auto 1.2rem;
  font-size: 1rem;
  opacity: 0.95;
}

/* Form */
form {
  max-width: 460px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}
form:hover {
  transform: translateY(-3px);
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #003366;
}
form input[type="text"],
form input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 1.2rem;
  border-radius: 8px;
  border: 1px solid #ccd6e0;
  font-size: 1rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}
form input:focus {
  border-color: #005fa3;
  box-shadow: 0 0 0 3px rgba(0,95,163,0.15);
  outline: none;
}

/* Button */
button {
  width: 100%;
  background: linear-gradient(to right, #003366, #005fa3);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.15s ease;
}
button:hover {
  background: linear-gradient(to right, #002850, #004a80);
  transform: scale(1.02);
}
button:active {
  transform: scale(0.98);
}

/* Success & Error Messages */
.message {
  max-width: 460px;
  margin: 1rem auto;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
}
.success {
  background: #e6f8ec;
  color: #0a9d48;
  border: 1px solid #b7e3c6;
}
.error {
  background: #fde8e8;
  color: #d32f2f;
  border: 1px solid #f5b5b5;
}

/* Back Link */
.back-link {
  display: inline-block;
  margin-top: 1.5rem;
  text-align: center;
  color: #005fa3;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}
.back-link:hover {
  text-decoration: underline;
  color: #003366;
}

/* Footer */
.dcps-footer {
  background-color: #f8fafc;
  color: #444;
  font-size: 0.95rem;
  padding: 2rem 1rem 1rem 1rem;
  text-align: center;
  margin-top: 3rem;
  border-top: 1px solid #e2e8f0;
}
.dcps-footer .footer-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}
.dcps-footer .footer-social img {
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease;
}
.dcps-footer .footer-social img:hover {
  transform: scale(1.2);
}
.dcps-footer .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}
.dcps-footer .footer-links a {
  color: #005fa3;
  text-decoration: none;
  font-weight: 500;
}
.dcps-footer .footer-links a:hover {
  text-decoration: underline;
  color: #003366;
}
.dcps-footer .footer-disclaimer {
  max-width: 650px;
  margin: 0.5rem auto 0;
  font-size: 0.85rem;
  color: #555;
}
.dcps-footer .footer-disclaimer strong a {
  font-weight: 600;
  color: #444;
  text-decoration: none;
}
.dcps-footer .footer-disclaimer strong a:hover {
  color: #1c75bc;
}

/* Responsive */
@media (max-width: 600px) {
  .subscribe-alerts-hero h1 {
    font-size: 1.6rem;
  }
  form {
    padding: 1.5rem;
  }
  button {
    font-size: 1rem;
    padding: 12px;
  }
}
