/* ========================================
   MODAL FORM — AUTOHUB
   ======================================== */

.modal-dialog {
  max-width: 25.42rem;
}

.modal-content {
  background-color: transparent;
  border: none;
}

.modal_form {
  border-radius: var(--rounded-20);
  background: var(--gradient);
  padding: 2.43rem;
}

.modal_form > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.modal_form > div > h3 {
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 2.68rem;
  color: var(--text-light);
}

.modal_form > div > p {
  margin-bottom: 1.82rem;
}

/* Success modal */
.modal_alert {
  border-radius: var(--rounded-20);
  background: var(--gradient);
  padding: 2.43rem;
  text-align: center;
}

.modal_alert > h3 {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
}

.modal_alert > p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.8rem;
}

/* ========================================
   COMPANY CARD MODAL
   ======================================== */

.modal-dialog-company {
  max-width: 32rem;
}

.company_card {
  border-radius: var(--rounded-20);
  background: var(--dark);
  padding: 2.43rem;
  position: relative;
  color: var(--text-light);
}

.company_card_close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
}

.company_card_close:hover {
  color: var(--text-light);
}

.company_card_title {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.company_card_body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.company_card_row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.company_card_label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.company_card_value {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.4;
}

.company_card_value a {
  color: var(--flat);
  text-decoration: none;
  transition: color 0.2s;
}

.company_card_value a:hover {
  color: var(--text-light);
}

.company_card_divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0.4rem 0;
}

/* ========================================
   MOBILE — 1024px
   ======================================== */

@media (max-width: 1024px) {
  .modal-dialog {
    max-width: 100%;
    margin: 0 5rem;
  }

  .modal_form {
    padding: 6rem 3.23rem;
  }

  .modal_form > div > h3 {
    font-size: 5.92rem;
    line-height: 7rem;
  }
}
