body {
  margin: 0;
}

.main-content.container,
.main-content2.container2 {
  max-width: 940px;
  width: min(940px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.08);
  padding: 22px 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
}

.main-content {
  margin-top: 104px;
  text-align: center;
}

.main-content2 {
  margin-top: 24px;
  text-align: center;
  margin-bottom: 64px;
}

.search-container {
  max-width: 760px;
  margin: 0 auto;
}

.search-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(198, 40, 40, 0.26);
  color: #ffe2e2;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.brand-title {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5.3vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.35);
}

.brand-next,
.brand-stream {
  display: inline-block;
}

.brand-next {
  color: #c62828;
  margin-right: 0.14em;
}

.brand-stream {
  color: #f5e8d8;
}

.search-container h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  color: #fff6ee;
  font-weight: 800;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.search-help {
  max-width: 620px;
  margin: 10px auto 18px;
  color: rgba(255, 244, 236, 0.88);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
}

.formC {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.conForms {
  width: 100%;
  max-width: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.7fr);
  gap: 12px;
}

.form-group2 {
  width: 100%;
  margin-bottom: 0;
}

.form-group2 label {
  display: block;
  margin-bottom: 8px;
  text-align: left;
  font-weight: 800;
  color: #fff1e6;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.form-group2 input,
.form-group2 select {
  width: 100%;
  padding: 14px 16px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #251b1b;
  box-shadow: none;
}

.service-group select {
  appearance: none;
}

.emails-list h2 {
  margin: 0;
  text-align: left;
  color: #fff1e6;
  font-weight: 800;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.results-helper {
  margin: 8px 0 4px;
  color: rgba(255, 240, 232, 0.82);
  font-size: 14px;
}

.results-target {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
  word-break: break-word;
}

.btn {
  background: linear-gradient(135deg, #c62828 0%, #8e1f1f 100%);
  color: #fff7f7;
  border: none;
  padding: 12px 22px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  cursor: pointer;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(140, 24, 24, 0.3);
}

.btn:hover {
  background: linear-gradient(135deg, #b71c1c 0%, #7f1717 100%);
}

.email-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.emails-list table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 18px;
}

.emails-list th,
.emails-list td {
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 16px;
  text-align: left;
  color: #fff6ee;
}

.emails-list th {
  background-color: rgba(255, 255, 255, 0.14);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.emails-list tbody tr {
  background-color: rgba(255, 255, 255, 0.04);
}

.emails-list tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.08);
}

.emails-list tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.emails-list a {
  color: #ffe0dc;
  text-decoration: none;
  font-weight: 600;
}

.emails-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.external-code-only {
  display: inline-block;
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.alert-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(13, 8, 8, 0.72);
  backdrop-filter: blur(6px);
  z-index: 1200;
}

.alert-card {
  width: min(460px, 100%);
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(42, 18, 18, 0.98), rgba(23, 12, 12, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
  text-align: center;
}

.alert-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(198, 40, 40, 0.22);
  color: #ffe3df;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.alert-card h3 {
  margin: 0 0 10px;
  color: #fff5ef;
  font-size: 24px;
  font-weight: 800;
}

.alert-text {
  margin: 0 0 18px;
  color: rgba(255, 244, 236, 0.88);
  font-size: 15px;
  line-height: 1.55;
}

@media screen and (max-width: 768px) {
  .main-content.container,
  .main-content2.container2 {
    width: calc(100% - 32px) !important;
    padding: 18px 16px;
  }

  .main-content {
    margin-top: 96px;
  }

  .main-content2 {
    margin-top: 18px;
  }

  .conForms {
    grid-template-columns: 1fr;
  }

  .header-container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .emails-list h2 {
    text-align: center;
  }

  .external-code-only {
    font-size: 24px;
  }
}

@media screen and (max-width: 480px) {
  .main-content.container,
  .main-content2.container2 {
    width: calc(100% - 28px) !important;
    padding: 16px 14px;
    border-radius: 24px;
  }

  .main-content {
    margin-top: 92px;
  }

  .search-help {
    font-size: 14px;
    line-height: 1.45;
  }

  .brand-title {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
  }

  .search-container h1 {
    font-size: 28px;
  }

  .btn {
    width: 100%;
  }

  .email-buttons form {
    width: 100%;
  }

  .email-buttons {
    width: 100%;
  }

  .external-code-only {
    font-size: 22px;
    letter-spacing: 0.08em;
  }
}
