.idgtl-verification-wrapper {
  margin: 8px 0;
  padding: 15px;
  background: #ffffff;
  /* border-radius: 8px; */
  border: solid 1px #e8e8e8;
  height: auto !important;
}

.idgtl-verification-wrapper.verified {
  background: #ffffff;
  border: solid 1px #e8e8e8;
}

.idgtl-verification-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #333;
}

.idgtl-verification-status .status-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
}

.idgtl-verification-status .status-icon.pending {
  background: #ffc107;
}

.idgtl-verification-status .status-icon.success {
  background: #28a745;
}

.idgtl-verification-status .status-icon.error {
  background: #dc3545;
}

.idgtl-send-code-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #0073aa;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  /* margin-top: 10px; */
  transition: all 0.3s;
}

.idgtl-send-code-btn:hover {
  background: #005a87;
}

.idgtl-send-code-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.idgtl-code-input-wrapper {
  margin-top: 15px;
  display: none;
}

.idgtl-code-input-wrapper.active {
  display: block;
}

.idgtl-code-input {
  width: 100%;
  max-width: 200px;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 18px;
  text-align: center;
  letter-spacing: 5px;
  font-weight: 600;
}

.idgtl-code-input:focus {
  outline: none;
  border-color: #0073aa;
}

.idgtl-check-code-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  margin-right: 10px;
  transition: all 0.3s;
}

.idgtl-check-code-btn:hover {
  background: #218838;
}

.idgtl-check-code-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.idgtl-resend-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #6c757d;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  transition: all 0.3s;
}

.idgtl-resend-btn:hover {
  background: #5a6268;
}

.idgtl-resend-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.idgtl-message {
  margin-top: 10px;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
  display: none;
}

.idgtl-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

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

.idgtl-message.info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.idgtl-timer {
  display: inline-block;
  margin-left: 10px;
  font-size: 13px;
  color: #6c757d;
}

/* Стили для заблокированной кнопки отправки */
.wpcf7-form button.btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wpcf7-form button.btn:not(.is-disabled) {
  opacity: 1;
  cursor: pointer;
}

/* Анимация */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.idgtl-verification-wrapper.processing {
  animation: pulse 1s ease-in-out;
}

/* ===== ПЕРЕКЛЮЧАТЕЛЬ КАНАЛА (SMS / Telegram) ===== */
.idgtl-channel-selector {
  margin: 12px 0;
}
.idgtl-channel-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}
.idgtl-channel-options {
  display: flex;
  gap: 8px;
}
.idgtl-channel-option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 2px solid #dee2e6;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  user-select: none;
}
.idgtl-channel-option:hover {
  border-color: #adb5bd;
  background: #f8f9fa;
}
.idgtl-channel-option.active {
  border-color: #0073aa;
  background: #e8f4fd;
}
.idgtl-channel-option input[type="radio"] {
  display: none; /* скрываем нативный radio */
}
.idgtl-channel-option .channel-icon {
  font-size: 16px;
  line-height: 1;
}
.idgtl-channel-option .channel-text {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.idgtl-channel-option.active .channel-text {
  color: #0073aa;
}
.idgtl-channel-hint {
  margin-top: 6px;
  font-size: 12px;
  color: #856404;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  padding: 6px 10px;
}

.wpcf7-response-output{
    display: none !important;
}

.modal-done {
    --bs-modal-zindex: 1055;
    --bs-modal-width: 500px;
    --bs-modal-padding: 1rem;
    --bs-modal-margin: 0.5rem;
    --bs-modal-color: ;
    --bs-modal-bg: var(--bs-body-bg);
    --bs-modal-border-color: var(--bs-border-color-translucent);
    --bs-modal-border-width: var(--bs-border-width);
    --bs-modal-border-radius: var(--bs-border-radius-lg);
    --bs-modal-box-shadow: var(--bs-box-shadow-sm);
    --bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));
    --bs-modal-header-padding-x: 1rem;
    --bs-modal-header-padding-y: 1rem;
    --bs-modal-header-padding: 1rem 1rem;
    --bs-modal-header-border-color: var(--bs-border-color);
    --bs-modal-header-border-width: var(--bs-border-width);
    --bs-modal-title-line-height: 1.5;
    --bs-modal-footer-gap: 0.5rem;
    --bs-modal-footer-bg: ;
    --bs-modal-footer-border-color: var(--bs-border-color);
    --bs-modal-footer-border-width: var(--bs-border-width);
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-modal-zindex);
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}
.modal-done.show{
    display: block;
}
.modal-done .btn-close{
    max-width: 320px;
    width: 100%;
    height: 40px;
    margin-top: 12px;
    color: white;
}
.modal-done .modal-dialog{
            height: 100vh;
        margin: auto;
        display: flex;
}
.modal-done .modal-content {
    margin: auto;
    padding: 20px 32px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #019ea7;
    color: white;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.modal-done .done-close {
    border: 1px solid #a4dcdf;
    border-radius: 100px;
    max-width: 220px;
    width: 100%;
    background: white;
    padding: 0 16px;
    height: 32px;
    margin-top: 16px;
}