/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= BODY ================= */
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #eef3f9, #f9fbff);
  color: #2c3e50;
}

/* ================= HEADER ================= */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 15px 20px;
}

.logo img {
  height: 55px;
}

.header-title {
  text-align: center;
}

.header-title h1 {
  font-size: 20px;
  font-weight: 700;
  color: #0b3b66;
}

.header-title p {
  font-size: 12px;
  color: #6b7280;
}

/* ================= WRAPPER ================= */
.app-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px 15px;
}

/* ================= CONTAINER ================= */
.app-container {
  width: 100%;
  max-width: 1100px;
  background: #ffffff;
  padding: 35px 40px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* ================= TITLE ================= */
h2 {
  text-align: center;
  font-size: 26px;
  color: #0b3b66;
  margin-bottom: 20px;
}

/* ================= SUCCESS ================= */
.success {
  background: #e6ffed;
  color: #1a7f37;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
}

/* ================= SECTION ================= */
.section {
  background: #ffffff;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.section h3 {
  margin-bottom: 15px;
  color: #0b3b66;
}

/* ================= GRID ================= */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.full {
  grid-column: 1 / -1;
}

/* ================= FIELD ================= */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ================= LABEL ================= */
label {
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

/* ================= INPUT ================= */
input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6dde8;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  transition: 0.25s;
}

textarea {
  height: 90px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

/* FILE INPUT */
input[type="file"] {
  border: 1px dashed #cbd5e1;
  background: #f9fafb;
}

/* ================= PAYMENT BOX ================= */
#paymentNote {
  background: #eef4ff;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
}

/* ================= DECLARATION ================= */
.declaration-box {
  max-height: 180px;
  overflow-y: auto;
  background: #f4f8fc;
  padding: 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.7;
  border: 1px solid #dbe3ec;
}

/* ================= CONSENT ================= */
.consent-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.consent-box input {
  display: none;
}

.checkmark {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid #0b3b66;
  border-radius: 5px;
  position: relative;
  background: #fff;
  margin-top: 1px;
  transition: 0.2s ease;
}

.consent-box input:checked + .checkmark {
  background: #0b3b66;
}

.consent-box input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ================= BUTTON ================= */
button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #0b3b66, #174a7c);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(11,59,102,0.25);
}

/* ================= FOOTER ================= */
.main-footer {
    background: linear-gradient(135deg, #0b3b66, #174a7c);
  color: #ffffff;
  padding: 60px 20px 25px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Titles */
.footer-col h3 {
  font-size: 18px;
  margin-bottom: 12px;
  position: relative;
}

.footer-col h3::after {
  content: "";
  width: 35px;
  height: 3px;
  background: #3b82f6;
  display: block;
  margin-top: 6px;
}

/* Text */
.footer-col p,
.footer-col a {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.7;
}

.footer-col a {
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #94a3b8;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
}

/* ================= WHATSAPP BUTTON ================= */

.whatsapp-btn {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: 0.3s;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
}
/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .form-grid {
    grid-template-columns: 1fr;
  }

  .app-container {
    padding: 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}