/* Wrapper & main CTA */
.tu-donate-wrap {
  text-align: center;
  margin: 20px 0 0px;
}
.tu-btn-main {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 32px;
  font-weight: 600;
  letter-spacing: .2px;
  border: 0;
  background: linear-gradient(135deg, #1e88e5, #43a047);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  transition: all .2s ease;
}
.tu-btn-main:hover,
.tu-btn-main:focus {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.2);
}

/* Helper text under button */
.tu-pay-icons {
  margin-top: 8px;
  font-size: 13px;
  color: #4a4a4a;
}
.tu-pay-icons i {
  margin-right: 6px;
  opacity: .9;
}

/* Modal polishing */
.tu-modal .modal-content {
  border-radius: 12px;
  border: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.tu-modal .modal-header {
  border: 0;
  padding: 18px 24px 0;
}
.tu-modal .modal-title {
  font-weight: 700;
  font-size: 20px;
}
.tu-modal .modal-body {
  padding: 10px 14px 20px;
}
.tu-modal .modal-footer {
  border: 0;
  padding: 5px 24px 35px;
}
.tu-modal .modal-footer {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #e5e5e5;
}

/* Typography */
.tu-legend {
  margin-bottom: 10px;
  color: #444;
}
.tu-muted {
  color: #6b6b6b;
  line-height: 1.45;
}

/* Chips */
.tu-chips input {
  display: none;
}
.tu-chip-label {
    display: inline-block;
    margin: 4px;
    padding: 2px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
}
.tu-chip-label:hover {
    background: #34302f;
    color: #fff;
}
.tu-chips input:checked + .tu-chip-label {
    border-color: #af3719;
    box-shadow: 0 0 0 2px rgba(30, 136, 229, .15);
    background: #e05633;
    color: #fff;
}

/* Amount group */
.tu-amount-group {
  margin-top: 8px;
}

/* Notes */
.tu-input-note {
  font-size: 12px;
  color: #777;
  margin-top: 6px;
}

/* Footer buttons */
.tu-btn-secondary {
  border-radius: 28px;
}
.tu-btn-pay {
  border-radius: 28px;
  font-weight: 600;
  border: 0;
  background: #e51e1e;
  color: #fff;
  padding: 10px 18px;
  transition: all .2s ease;
}
.tu-btn-pay:hover,
.tu-btn-pay:focus {
  color: #fff;
  background: #1565c0;
}

/* Badges */
.tu-badges {
  font-size: 12px;
  color: #666;
}
.tu-badges .label {
  margin-right: 6px;
  display: inline-block;
}

/* ===== Payer details: inputs with icons ===== */
.tu-payer .tu-field + .tu-field { margin-top: 12px; }
@media (min-width: 768px) {
  .tu-payer .tu-field + .tu-field { margin-top: 0; }
}

.tu-input .form-control {
    border-color: #d7d7d7;
    box-shadow: none;
    transition: border-color .2s, box-shadow .2s;
}
.tu-input .form-control:focus {
  border-color: #1e88e5;
  box-shadow: 0 0 0 3px rgba(30,136,229,.12);
}

.tu-addon {
  background: #f7f8fa;
  border-color: #d7d7d7;
  color: #596579;
  border-radius: 24px 0 0 24px;
  min-width: 44px;
  text-align: center;
}
.tu-addon .fa,
.tu-addon .fas,
.tu-addon .far {
  font-size: 14px;
}

/* Compact help text */
.tu-help {
  margin: 6px 0 0;
  color: #7a7a7a;
  font-size: 12px;
}

/* Make labels a bit stronger */
.tu-legend {
  display: block;
  font-weight: 600;
}

.tu-modal .help-block {
    display: block;
    margin-top: 2px;
    margin-bottom: 5px;
    color: #737373;
}

/* Better spacing for stacked inputs on small screens */
@media (max-width: 767px) {
  .tu-payer .tu-field { margin-bottom: 10px; }
}
.tu-payer {
    margin-top: 15px;
    box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.61);
    padding: 10px;
    border-radius: 10px;
}

.tus-payerr2 {
    margin-top: 15px;
    box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.61);
    padding: 10px;
    border-radius: 10px;
}

.tu-modal .form-group {
    margin-bottom: 0px;
}

.tu-modal .tu-btn-secondary {
    color: #333 !important;
    background-color: #fff;
    border-color: #ccc;
    padding: 10px 24px;
    margin-bottom: 0;
    border: 1px solid #bbb4b4;
    border-radius: 28px;
}
.tu-modal .tu-btn-secondary:hover {
    color: #1a1a1a !important;
    text-shadow: none;
}
.tu-modal .tu-btn-pay {
   padding: 10px 24px;
   border-radius: 28px;
}

.tu-modal .donor-phone {
	
}
.tu-modal .donor-phone .tu-input {
    display: block;
}
.tu-modal .dphone {
    float: none !important;
}
.tu-modal .iti__country-list {
    z-index: 999;
}
.tu-modal .input-group .form-control:focus {
    z-index: 0;
}

/* ==== Errors & validation ==== */
.tu-error-summary { display:none; }
.tu-error-summary .tu-error-list { padding-left: 0; list-style: disc; }

.tu-field.has-error .form-control,
.tu-field.has-error .input-group-addon,
.tu-chips-error .tu-chip-label,
.tu-amount-error .input-group-addon {
  border-color: #e57373 !important;
}
.tu-field.has-error .form-control:focus {
  box-shadow: 0 0 0 3px rgba(229, 115, 115, .22);
}
.tu-error {
  color: #d93025 !important;
  font-size: 12px;
  margin: 6px 0 0;
  display: none;
}
.tu-chips-error .tu-chip-label { box-shadow: 0 0 0 2px rgba(229,115,115,.15); }


/* Hero message */
.tu-hero {
    background: #e6f3f3;
    border: 1px solid #e6eef7;
    border-radius: 10px;
    padding: 5px 10px;
    margin-bottom: 14px;
}
.tu-hero-title { margin:0 0 4px; font-weight:700; font-size:16px; color:#1f2937; }
.tu-hero-lead { margin:0 0 8px; color:#4b5563; }
.tu-hero-list { margin:0; padding-left:0; list-style:none; }
.tu-hero-list li { display:flex; align-items:center; gap:8px; color:#374151; margin:4px 0; }
.tu-hero-list i { width:16px; text-align:center; opacity:.9; }

@media (min-width: 768px) {
    .modal-dialog {
        width: 600px !important;
        margin: 30px auto;
    }
}


/* ===== Thanks modal ===== */
#tmdThanksModal{z-index: 9999;}
.tu-thanks { position: relative; border: 0; border-radius: 14px; overflow: hidden; }
.tu-thanks:before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(30,136,229,.08), transparent 60%),
              radial-gradient(120% 80% at 0% 100%, rgba(67,160,71,.10), transparent 60%);
  pointer-events:none;
}
.tu-thanks-close { position:absolute; right:10px; top:6px; z-index:2; }
.tu-thanks-body { padding: 22px 22px 20px; text-align: center; }
.tu-thanks-icon { font-size: 56px; color: #28a745; margin: 4px 0 8px; animation: tu-pop .4s ease-out; }
.tu-thanks-title { margin: 0 0 6px; font-weight: 700; font-size: 20px; color: #1f2937; }
.tu-thanks-lead { margin: 0 0 6px; color:#374151; }
.tu-thanks-note { margin: 0 0 14px; color:#4b5563; font-size: 13px; }
.tu-thanks-actions .btn + .btn { margin-left: 6px; }

@keyframes tu-pop {
  0% { transform: scale(.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}