.tged-callback-wrap {
  width: 100%;
}

.tged-callback-box {
  width: 100%;
  max-width: 100%;
}

.tged-callback-message {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.tged-callback-message-error {
  background: #fff2f0;
  border: 1px solid #ffd5cf;
  color: #b42318;
}

.tged-callback-message-success {
  background: #eefbf3;
  border: 1px solid #b7ebc7;
  color: #1f7a3d;
}

.tged-callback-form {
  display: block;
}

.tged-callback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tged-callback-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.tged-callback-field-full {
  grid-column: 1 / -1;
}

.tged-callback-field label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #202124;
  line-height: 1.3;
}

.tged-callback-field input,
.tged-callback-field select {
  width: 100%;
  min-height: 54px;
  height: 54px;
  padding: 0 16px;
  border: 1.5px solid #d9dee5;
  border-radius: 14px;
  background: #ffffff;
  color: #202124;
  font-size: 0.98rem;
  box-sizing: border-box;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.tged-callback-field input::placeholder,
.tged-callback-field select {
  color: #8a9099;
}

.tged-callback-field input:hover,
.tged-callback-field select:hover {
  border-color: #c8cfd8;
}

.tged-callback-field input:focus,
.tged-callback-field select:focus {
  outline: none;
  border-color: #ea5501;
  box-shadow: 0 0 0 3px rgba(234, 85, 1, 0.12);
}

.tged-callback-field select {
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, #5f6368 50%),
    linear-gradient(135deg, #5f6368 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 24px,
    calc(100% - 14px) 24px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.tged-callback-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  color: #5f6368;
  font-size: 0.96rem;
  line-height: 1.6;
}

.tged-callback-checkbox input {
  margin-top: 4px;
  flex: 0 0 auto;
}

.tged-callback-checkbox span {
  display: block;
}

.tged-callback-actions {
  margin-top: 20px;
}

.tged-callback-submit {
  appearance: none;
  border: none;
  width: 100%;
  min-height: 54px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #ea5501;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(234, 85, 1, 0.20);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.tged-callback-submit:hover,
.tged-callback-submit:focus {
  background: #cf4a00;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(234, 85, 1, 0.24);
}

.tged-callback-submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.tged-callback-error {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff2f0;
  border: 1px solid #ffd5cf;
  color: #b42318;
  font-size: 0.88rem;
  line-height: 1.35;
}

.tged-callback-field input.is-error,
.tged-callback-field select.is-error,
.tged-callback-checkbox.is-error {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

@media (max-width: 767px) {
  .tged-callback-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tged-callback-field input,
  .tged-callback-field select {
    min-height: 52px;
    height: 52px;
    font-size: 0.97rem;
  }

  .tged-callback-checkbox {
    margin-top: 16px;
    font-size: 0.93rem;
    line-height: 1.55;
  }

  .tged-callback-submit {
    min-height: 52px;
  }
}