
/* ==========================================
   ENERCAMP 2027
   COMPROBANTES ADICIONALES
========================================== */

:root {

  --background: #071410;
  --panel: #10231d;
  --turquoise: #35d5c0;
  --orange: #ff9d1a;
  --cream: #edf2df;
  --muted: #9cb5ab;
  --red: #ff6b6b;
  --line: rgba(237, 242, 223, .13);

}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {

  margin: 0;
  min-height: 100vh;

  background:
    radial-gradient(
      ellipse at top right,
      #163a30 0%,
      transparent 45%
    ),
    var(--background);

  color: var(--cream);

  font-family: "degular", Arial, sans-serif;

}

.payment-page {

  width: min(100% - 40px, 620px);
  margin: 0 auto;

}

.payment-header {

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;

  padding: 30px 0;
  border-bottom: 1px solid var(--line);

}

.back-link {

  color: var(--muted);
  text-decoration: none;
  font-size: .85rem;

}

.back-link:hover {
  color: var(--turquoise);
}

.event-label {

  color: var(--turquoise);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;

}

.payment-intro {
  padding: 50px 0 32px;
}

.eyebrow {

  color: var(--orange);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;

}

.payment-intro h1 {

  margin: 15px 0 20px;

  font-family:
    "transducer", Arial, sans-serif;

  font-size: clamp(2.8rem, 9vw, 5rem);
  font-weight: 900;
  font-style: italic;
  line-height: .95;
  letter-spacing: -.04em;

}

.payment-intro p {

  max-width: 460px;
  color: var(--muted);
  line-height: 1.6;

}

.payment-card {

  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;

}

.card-heading {

  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);

}

.section-number {

  color: var(--turquoise);
  font-size: 2.2rem;
  font-weight: 900;

}

.card-heading h2 {

  margin: 0;
  font-size: 1.4rem;

}

.card-heading p {

  margin: 5px 0 0;
  color: var(--muted);
  font-size: .85rem;

}

.form-group {
  margin-bottom: 24px;
}

.form-group > label {

  display: block;
  margin-bottom: 9px;
  font-weight: 600;

}

.form-group input:not([type="file"]) {

  width: 100%;
  min-width: 0;
  padding: 15px;

  color: var(--cream);
  background: var(--background);

  border: 1px solid var(--line);
  border-radius: 8px;

  font: inherit;

}

.form-group input:focus {

  outline: 1px solid var(--turquoise);
  border-color: var(--turquoise);

}

.form-group small {

  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.4;

}

.amount-input {

  display: flex;
  align-items: center;
  gap: 12px;

  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;

}

.amount-input span {

  color: var(--turquoise);
  font-weight: 700;

}

.amount-input input:not([type="file"]) {

  border: none;
  background: transparent;

}

.upload-area {

  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 28px 16px;

  background: rgba(53, 213, 192, .04);

  border: 1px dashed var(--turquoise);
  border-radius: 10px;

  cursor: pointer;
  text-align: center;

}

.upload-area:hover {
  background: rgba(53, 213, 192, .09);
}

.upload-icon {

  font-size: 2.4rem;
  color: var(--turquoise);

}

.upload-area span:not(.upload-icon) {

  color: var(--muted);
  font-size: .8rem;

}

#file-name {

  color: var(--turquoise);
  overflow-wrap: anywhere;

}

.file-input {

  width: 100%;
  font: inherit;
  font-size: .8rem;
  color: var(--muted);

}

.file-input::file-selector-button {

  background: var(--background);
  color: var(--cream);
  border: 1px solid var(--line);
  padding: 8px;
  border-radius: 5px;

}

.information-box {

  padding: 16px;
  margin: 24px 0;

  background: rgba(255, 157, 26, .06);
  border-left: 3px solid var(--orange);
  border-radius: 4px;

}

.information-box strong {

  color: var(--orange);
  font-size: .75rem;
  letter-spacing: .08em;

}

.information-box p {

  margin: 8px 0 0;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;

}

.submit-button {

  display: block;
  width: 100%;

  padding: 17px 12px;

  background: var(--orange);
  color: var(--background);

  border: none;
  border-radius: 8px;

  font: inherit;
  font-weight: 900;
  letter-spacing: .04em;

  cursor: pointer;
  text-align: center;
  text-decoration: none;

}

.submit-button:hover {
  filter: brightness(1.08);
}

.submit-button:disabled {

  opacity: .55;
  cursor: wait;

}

.payment-message {

  margin-top: 18px;
  padding: 14px;
  border-radius: 8px;

  font-size: .9rem;
  line-height: 1.5;

}

.payment-message.error {

  color: var(--red);
  background: rgba(255, 107, 107, .08);
  border: 1px solid var(--red);

}

.payment-message.info {

  color: var(--turquoise);
  background: rgba(53, 213, 192, .08);

}

.success-section {

  padding: 20px 0;
  text-align: center;

}

.success-icon {

  width: 75px;
  height: 75px;
  margin: 0 auto 25px;

  display: grid;
  place-items: center;

  background: rgba(53, 213, 192, .1);
  border: 1px solid var(--turquoise);
  border-radius: 50%;

  color: var(--turquoise);
  font-size: 2.5rem;

}

.success-section h2 {

  color: var(--turquoise);
  font-weight: 900;

}

.success-section p {

  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;

}

.payment-footer {

  padding: 40px 0;
  text-align: center;

  color: var(--muted);
  font-size: .8rem;

}

.payment-footer strong {
  color: var(--cream);
}

.payment-footer p {
  margin: 8px 0;
}

@media (max-width: 480px) {

  .payment-page {
    width: calc(100% - 28px);
  }

  .payment-card {
    padding: 22px 18px;
  }

  .payment-intro {
    padding-top: 35px;
  }

  .payment-header {
    padding: 22px 0;
  }

}

