@import url("https://cdn.jsdelivr.net/npm/intl-tel-input@25.3.1/build/css/intlTelInput.css");

.awy-simulator {
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #ccd9eb;
  border-radius: 18px;
  padding: 32px;
  max-width: 760px;
  margin: 24px auto;
  box-shadow: 0 24px 48px -24px rgba(15, 45, 83, 0.35);
}

.awy-progress {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.awy-progress__bar {
  position: relative;
  background: #e6edf7;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.awy-progress__value {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f2d53, #1d4b80);
}

.awy-step__title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.awy-step__header h3 {
  font-size: 24px;
  margin: 0;
}

.awy-step__tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f2d53;
  background: rgba(15, 45, 83, 0.12);
  border-radius: 999px;
  padding: 4px 10px;
}

.awy-step__tag--multiple {
  color: #0f2d53;
  background: rgba(15, 45, 83, 0.18);
}

.awy-step__header p {
  color: #4b5c72;
  margin: 6px 0 24px;
  line-height: 1.5;
}

.awy-step__helper {
  margin: 0 0 24px;
  color: #112842;
  font-size: 14px;
  font-weight: 500;
}

.awy-step__header p + .awy-step__helper {
  margin-top: -12px;
}

.awy-step__options {
  display: grid;
  gap: 16px;
}

.awy-step__fields {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.awy-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.awy-field span {
  font-weight: 600;
  color: #0f2d53;
}

.awy-field input,
.awy-field textarea,
.awy-field select {
  border-radius: 12px;
  border: 1px solid #ced9eb;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.awy-field input:focus,
.awy-field textarea:focus,
.awy-field select:focus {
  border-color: #0f2d53;
  box-shadow: 0 0 0 4px rgba(15, 45, 83, 0.22);
  outline: none;
}

.awy-option {
  display: block;
  position: relative;
  border: 1px solid #ced9eb;
  border-radius: 16px;
  padding: 16px 20px;
  cursor: pointer;
  background: #f5f9ff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.awy-option.is-active {
  border-color: #0f2d53;
  box-shadow: 0 16px 36px -20px rgba(15, 45, 83, 0.4);
  background: #ffffff;
}

.awy-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.awy-option__content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.awy-option__body {
  flex: 1 1 auto;
  display: grid;
  gap: 8px;
}

.awy-option__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.awy-option__title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.awy-option__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(15, 45, 83, 0.12);
  font-size: 22px;
}

.awy-option__label {
  font-size: 18px;
  font-weight: 600;
  color: #132f54;
}

.awy-option__price {
  font-weight: 700;
  color: #0f2d53;
  font-size: 15px;
}

.awy-option__media {
  flex: 0 0 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e3eaf4;
  background: #f5f9ff;
}

.awy-option__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.awy-option__description {
  margin: 12px 0 0;
  color: #4b5c72;
  line-height: 1.5;
}

.awy-option--multiple {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.awy-option--multiple input[type="checkbox"] {
  position: static;
  opacity: 1;
  pointer-events: auto;
  margin-top: 6px;
  width: 18px;
  height: 18px;
  accent-color: #0f2d53;
}

.awy-option--multiple .awy-option__content {
  flex: 1 1 auto;
}

.awy-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.awy-add-service__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.awy-add-service__actions .awy-button {
  flex: 1 1 240px;
}

.awy-actions__spacer {
  flex: 1 1 auto;
}

.awy-button {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #0f2d53, #1d4b80);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 16px 30px -20px rgba(15, 45, 83, 0.5);
}

.awy-button:hover:not([disabled]) {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -20px rgba(15, 45, 83, 0.55);
}

.awy-button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.awy-button--ghost {
  background: transparent;
  color: #0f2d53;
  border: 1px solid rgba(15, 45, 83, 0.4);
}

.awy-summary {
  margin-top: 24px;
  border-top: 1px solid #ced9eb;
  padding-top: 24px;
}

.awy-summary__title {
  margin: 0;
  font-size: 20px;
}

.awy-summary__actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.awy-summary__restart {
  flex: 0 1 auto;
}

.awy-summary__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 16px;
}

.awy-summary__group h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #0f2d53;
}

.awy-summary__group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.awy-summary__group li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: #132f54;
}

.awy-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #ced9eb;
}

.awy-summary__total span:first-child {
  font-size: 16px;
  font-weight: 500;
  color: #0f2d53;
}

.awy-summary__total span:last-child {
  font-size: 22px;
  font-weight: 700;
  color: #0f2d53;
}

.awy-summary__note {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #ced9eb;
  background: #f3f7fd;
  border-radius: 12px;
  font-size: 14px;
  color: #1f2f45;
  display: grid;
  gap: 12px;
}

.awy-summary__note p {
  margin: 0;
  line-height: 1.5;
}

.awy-summary__note strong {
  display: block;
  margin-bottom: 4px;
  color: #0f2d53;
}

.awy-summary--hidden {
  display: none;
}

.awy-summary__lock {
  margin-top: 24px;
  padding: 16px;
  border: 1px dashed #ced9eb;
  background: #f8fbff;
  color: #1f2f45;
  border-radius: 12px;
}

.awy-summary__lock.is-hidden {
  display: none;
}

.awy-contact h3 {
  margin-top: 32px;
  font-size: 20px;
}

.awy-contact p {
  color: #4b5c72;
  line-height: 1.5;
}

.awy-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.awy-contact label span {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #0f2d53;
}

.awy-contact input,
.awy-contact textarea,
.awy-contact select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #ced9eb;
  padding: 12px 14px;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  resize: vertical;
}

.awy-contact .iti {
  width: 100%;
}

.awy-contact input:focus,
.awy-contact textarea:focus,
.awy-contact select:focus {
  border-color: #0f2d53;
  box-shadow: 0 0 0 4px rgba(15, 45, 83, 0.22);
  outline: none;
}

.awy-contact__privacy {
  font-size: 13px;
  color: #5b6f88;
  margin: 12px 0 0;
}

.awy-contact .awy-button {
  margin-top: 24px;
}

.awy-contact__link {
  font-size: 14px;
  margin: 16px 0 0;
}

.awy-contact__link a {
  color: #0f2d53;
  font-weight: 600;
  text-decoration: none;
}

.awy-contact__link a:hover {
  text-decoration: underline;
}

.awy-success {
  text-align: center;
  padding: 24px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-top: 32px;
}

@media (max-width: 640px) {
  .awy-simulator {
    padding: 24px 18px;
  }

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

.awy-form-message {
  opacity: 0;
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.awy-form-message.visible {
  opacity: 1;
}

.awy-form-message.success {
  background: #e7f9ec;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.awy-form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.awy-msg-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}