/**
 * AWE CharityFlow Frontend Styling
 * Pure Luxury Crimson, Navy & White Non-Profit Design
 */

:root {
  --awe-primary: #cb4154;
  --awe-primary-hover: #b03043;
  --awe-primary-light: #fff1f2;
  --awe-secondary: #111c2e;
  --awe-text: #334155;
  --awe-text-muted: #64748b;
  --awe-border: #e2e8f0;
  --awe-radius-sm: 8px;
  --awe-radius-md: 12px;
  --awe-radius-lg: 16px;
  --awe-radius-full: 9999px;
  --awe-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --awe-shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --awe-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* ================== GENERAL UTILITIES ================== */
.awe-tax-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--awe-primary);
  background: var(--awe-primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--awe-radius-full);
  margin-bottom: 0.75rem;
}

.awe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: var(--awe-radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.2;
}

.awe-btn-primary {
  background-color: var(--awe-primary) !important;
  color: #ffffff !important;
}

.awe-btn-primary:hover {
  background-color: var(--awe-primary-hover) !important;
  transform: translateY(-1px);
}

.awe-btn-outline {
  background-color: transparent;
  border-color: var(--awe-border);
  color: var(--awe-secondary) !important;
}

.awe-btn-outline:hover {
  border-color: var(--awe-primary);
  color: var(--awe-primary) !important;
  background-color: var(--awe-primary-light);
}

.awe-btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1.05rem;
}

.awe-btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.awe-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--awe-border);
  border-radius: var(--awe-radius-sm);
  font-size: 0.95rem;
  color: var(--awe-text);
  box-sizing: border-box;
  margin-bottom: 0.75rem;
  background: #ffffff;
}

.awe-control:focus {
  border-color: var(--awe-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(203, 65, 84, 0.15);
}

/* ================== 1. DONATION SIDEBAR BOX ================== */
.awe-donation-sidebar-box {
  background: #ffffff;
  border: 1px solid var(--awe-border);
  border-radius: var(--awe-radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--awe-shadow-sm);
  width: 100%;
  box-sizing: border-box;
}

.awe-box-title {
  margin: 0 0 1.25rem 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--awe-secondary);
}

.awe-progress-block {
  margin-bottom: 1.75rem;
}

.awe-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.awe-amount-raised {
  font-size: 2rem;
  font-weight: 800;
  color: var(--awe-secondary);
}

.awe-amount-target {
  font-size: 0.95rem;
  color: var(--awe-text-muted);
}

.awe-progress-track {
  width: 100%;
  height: 14px;
  background: #f1f5f9;
  border-radius: var(--awe-radius-full);
  overflow: hidden;
  position: relative;
}

.awe-progress-fill {
  height: 100%;
  background: var(--awe-primary);
  border-radius: var(--awe-radius-full);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.awe-progress-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--awe-text-muted);
}

/* Presets */
.awe-presets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0.5rem 0 1rem 0;
}

.awe-chip {
  padding: 0.65rem;
  background: #ffffff;
  border: 1px solid var(--awe-border);
  border-radius: var(--awe-radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--awe-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.awe-chip:hover {
  border-color: var(--awe-primary);
  color: var(--awe-primary);
  background: var(--awe-primary-light);
}

.awe-chip.active {
  border-color: var(--awe-primary) !important;
  background-color: var(--awe-primary) !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(203, 65, 84, 0.3);
}

.awe-custom-amount-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--awe-border);
  border-radius: var(--awe-radius-sm);
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.25rem;
  background: #ffffff;
}

.awe-custom-amount-wrap .awe-curr {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--awe-text-muted);
  margin-right: 0.5rem;
}

.awe-custom-amount-wrap input {
  border: none !important;
  box-shadow: none !important;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--awe-secondary);
  padding: 0.4rem 0;
  width: 100%;
  margin: 0;
  outline: none;
}

.awe-secure-footer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--awe-text-muted);
  margin-top: 1rem;
}

/* ================== MODALS & POPUPS ================== */
.awe-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 28, 46, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.awe-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.awe-modal-card {
  transform: translateY(20px) scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.awe-modal-backdrop.open .awe-modal-card {
  transform: translateY(0) scale(1);
}

/* Toast Notification */
.awe-global-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #111c2e;
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 9999999;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.awe-global-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================== TEMPLATE 2: MODAL CARD LAYOUT ================== */
.awe-donation-modal-card {
  background: #ffffff;
  border: 1px solid var(--awe-border);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  width: 100%;
  box-sizing: border-box;
}

.awe-modal-card-header {
  margin-bottom: 1.5rem;
}

.awe-tax-badge-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--awe-primary);
  background: var(--awe-primary-light);
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.awe-modal-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--awe-secondary);
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.awe-modal-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--awe-primary);
  margin-bottom: 0;
}

.awe-field-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--awe-secondary);
  margin-bottom: 0.45rem;
}

.awe-donor-form-fields .awe-field-group {
  margin-bottom: 0.85rem;
}

.awe-donor-form-fields .awe-control {
  margin-bottom: 0;
}

.awe-modal-presets-block {
  margin-bottom: 1.25rem;
}

.awe-modal-amount-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--awe-border);
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  background: #ffffff;
  margin-top: 0.65rem;
  transition: all 0.2s ease;
}

.awe-gateways-block {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.awe-gateways-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.awe-donation-modal-card .awe-chip.active {
  border-color: #cb4154 !important;
  background-color: #fff1f2 !important;
  color: #cb4154 !important;
  font-weight: 800 !important;
  box-shadow: 0 0 0 1px #cb4154, 0 2px 8px rgba(203, 65, 84, 0.15) !important;
}

.awe-gateway-card {
  display: flex;
  align-items: center;
  border: 1px solid var(--awe-border);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  user-select: none;
}

.awe-gateway-card:hover {
  border-color: #94a3b8;
}

.awe-gateway-card.active {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 1px #0284c7;
  background: #f0f9ff !important;
}

.awe-gateway-card input[type="radio"] {
  margin-right: 0.5rem;
  accent-color: #0284c7;
  cursor: pointer;
  pointer-events: none;
}

.awe-gateway-icon {
  font-size: 1.1rem;
  margin-right: 0.4rem;
}

.awe-gateway-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--awe-secondary);
}

.awe-modal-submit-wrap {
  margin-bottom: 1.25rem;
}

.awe-modal-submit-btn {
  box-shadow: 0 4px 14px rgba(203, 65, 84, 0.3);
  font-weight: 800;
  cursor: pointer;
}

.awe-modal-secure-footer {
  text-align: center;
}

.awe-secure-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--awe-text-muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: #f8fafc;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
}

/* ================== PAYMENT CONFIRMATION MODAL ================== */
.awe-payment-confirm-card {
  max-width: 460px;
  width: 92%;
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem 2rem 1.75rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  position: relative;
}

.awe-modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
  line-height: 1;
}
.awe-modal-close-btn:hover {
  background: #f1f5f9;
  color: #334155;
}

.awe-confirm-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.awe-confirm-icon {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.awe-confirm-title {
  margin: 0 0 0.2rem 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--awe-secondary);
}

.awe-confirm-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--awe-text-muted);
}

.awe-confirm-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--awe-border);
  border-radius: var(--awe-radius-md);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.25rem;
}

.awe-confirm-amount-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--awe-text-muted);
}

.awe-confirm-amount-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--awe-secondary);
}

/* ================== CARD DETAILS & STRIPE ELEMENTS ================== */
.awe-card-details-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--awe-radius-md);
  padding: 1.15rem;
  margin-bottom: 1.25rem;
  box-sizing: border-box;
}

.awe-card-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.awe-card-details-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--awe-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.awe-card-brand-icons {
  display: flex;
  gap: 0.35rem;
  font-size: 1rem;
}

.awe-card-input-wrapper {
  position: relative;
  margin-bottom: 0.65rem;
}

.awe-card-input-wrapper input {
  width: 100%;
  padding: 0.65rem 0.85rem 0.65rem 2.4rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  font-size: 0.95rem;
  color: #1e293b;
  box-sizing: border-box;
  font-family: monospace, sans-serif;
  letter-spacing: 1px;
}

.awe-card-input-wrapper input:focus {
  border-color: #cb4154;
  outline: none;
  box-shadow: 0 0 0 3px rgba(203, 65, 84, 0.12);
}

.awe-card-icon-prefix {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #94a3b8;
  pointer-events: none;
}

.awe-card-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.awe-card-row-2 input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  font-size: 0.95rem;
  color: #1e293b;
  box-sizing: border-box;
  text-align: center;
}

.awe-card-row-2 input:focus {
  border-color: #cb4154;
  outline: none;
  box-shadow: 0 0 0 3px rgba(203, 65, 84, 0.12);
}

.awe-stripe-elements-mount {
  padding: 0.75rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  min-height: 40px;
  box-sizing: border-box;
}

.awe-card-security-note {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.5rem;
}

/* PayPal Box */
.awe-paypal-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--awe-radius-md);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.awe-confirm-submit-btn {
  box-shadow: 0 4px 18px rgba(203, 65, 84, 0.35);
}

/* ================== TEST MODE BADGE ================== */
.awe-test-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fef9c3;
  color: #92400e;
  border: 1px solid #f59e0b;
  border-radius: var(--awe-radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 0.4px;
}

/* ================== RECEIPT MODAL ================== */
.awe-receipt-modal-card {
  max-width: 540px;
  width: 92%;
  background: #ffffff;
  border-radius: 18px;
  padding: 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  box-sizing: border-box;
}

.awe-receipt-box {
  border: 2px solid var(--awe-border);
  border-radius: var(--awe-radius-md);
  padding: 1.5rem;
  background: #f8fafc;
  margin-bottom: 1.25rem;
  box-sizing: border-box;
}

/* ================== IN-CARD SUCCESS BANNER ================== */
.awe-card-success-banner {
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  border-radius: var(--awe-radius-md);
  padding: 1.25rem;
  text-align: center;
  color: #065f46;
  margin-top: 1.25rem;
}

/* ================== VOLUNTEER CAMPAIGN FORM (CLEAN FIELD STYLES) ================== */
/* No outer container background, border or box-shadow - handled by Elementor container */
.awe-form-container,
.awe-card-form {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Form Group Spacing - Slightly Increased Clean Spacing */
.awe-card-form .awe-form-group {
  margin-bottom: 1.65rem;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

/* Form Labels - Slightly Larger, Clear & Bold */
.awe-card-form .awe-label {
  display: block;
  font-size: 1.02rem;
  font-weight: 650;
  color: #1e293b;
  margin-bottom: 0.55rem;
  letter-spacing: 0.15px;
  line-height: 1.35;
}

.awe-card-form .awe-label small {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
}

/* Clean Input, Select, and Textarea Fields */
.awe-card-form .awe-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1e293b;
  background-color: #ffffff;
  box-sizing: border-box;
  margin-bottom: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  outline: none;
}

.awe-card-form .awe-control:hover {
  border-color: #94a3b8;
}

.awe-card-form .awe-control:focus {
  border-color: var(--awe-primary, #cb4154) !important;
  background-color: #ffffff;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(203, 65, 84, 0.14) !important;
}

.awe-card-form .awe-control::placeholder {
  color: #94a3b8;
  opacity: 1;
}

/* Select Dropdown Styling with Custom Chevron */
.awe-card-form select.awe-control {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.15em;
  padding-right: 2.75rem;
}

.awe-card-form select.awe-control option[disabled] {
  color: #94a3b8;
}

/* Textarea Field */
.awe-card-form textarea.awe-control {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

/* Currency Prefix ($) Wrapper - Solid Brand Color Background & White Text */
.awe-card-form .awe-input-prefix-wrap {
  display: flex !important;
  align-items: stretch !important;
  position: relative;
  width: 100%;
}

.awe-card-form .awe-input-prefix-wrap .awe-currency-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  background: var(--awe-primary, #cb4154);
  border: 1.5px solid var(--awe-primary, #cb4154);
  border-right: none;
  border-radius: 8px 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff !important;
  user-select: none;
  transition: all 0.2s ease;
}

.awe-card-form .awe-input-prefix-wrap .awe-control {
  flex: 1;
  border-radius: 0 8px 8px 0 !important;
  margin-bottom: 0;
}

/* 2-Column Row for Avatar & Banner Image Upload */
.awe-card-form .awe-upload-row {
  display: flex;
  gap: 1.35rem;
  margin-bottom: 1.65rem;
  width: 100%;
  box-sizing: border-box;
}

.awe-card-form .awe-upload-col {
  flex: 1 1 50%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .awe-card-form .awe-upload-row {
    flex-direction: column;
    gap: 1.25rem;
  }
  .awe-card-form .awe-upload-col {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* Hidden native file input */
.awe-file-input-hidden {
  display: none !important;
}

/* Upload Card Container - Clean Modern Dropzone */
.awe-upload-card {
  border: 1.5px dashed #cbd5e1;
  background: #f8fafc;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 66px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  position: relative;
}

.awe-upload-card:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

/* Placeholder state with Icon + Title + Subtitle */
.awe-card-form .awe-upload-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.awe-upload-icon-box {
  width: 38px;
  height: 38px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.awe-upload-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.awe-upload-heading {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.25;
}

.awe-upload-subtext {
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 2px;
}

/* Selected Image Preview with Change & Remove Actions */
/* DEFAULT: Hidden until file is selected */
.awe-card-form .awe-upload-preview-wrap {
  display: none !important;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

/* ACTIVE: When file is selected, show preview and hide placeholder */
.awe-card-form .awe-upload-card.has-file .awe-upload-content {
  display: none !important;
}

.awe-card-form .awe-upload-card.has-file .awe-upload-preview-wrap {
  display: flex !important;
}

.awe-card-form .awe-preview-thumb {
  width: 46px !important;
  height: 46px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  border: 1.5px solid #cbd5e1 !important;
  flex-shrink: 0 !important;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.awe-card-form .awe-preview-details {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 5px !important;
  min-width: 0 !important;
  flex: 1 !important;
}

.awe-card-form .awe-preview-file-name {
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 190px !important;
  line-height: 1.25 !important;
}

.awe-card-form .awe-preview-btn-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Change and Remove Button Full Theme Resets & Crisp Styling */
.awe-card-form button.awe-btn-change-file,
.awe-card-form .awe-btn-change-file,
.awe-card-form button.awe-btn-remove-file,
.awe-card-form .awe-btn-remove-file {
  all: unset !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  padding: 4px 10px !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.awe-card-form button.awe-btn-change-file,
.awe-card-form .awe-btn-change-file {
  background-color: #eff6ff !important;
  color: #2563eb !important;
  border: 1px solid #bfdbfe !important;
}

.awe-card-form button.awe-btn-change-file:hover,
.awe-card-form .awe-btn-change-file:hover {
  background-color: #dbeafe !important;
  color: #1d4ed8 !important;
  border-color: #93c5fd !important;
}

.awe-card-form button.awe-btn-remove-file,
.awe-card-form .awe-btn-remove-file {
  background-color: #fef2f2 !important;
  color: #dc2626 !important;
  border: 1px solid #fecaca !important;
}

.awe-card-form button.awe-btn-remove-file:hover,
.awe-card-form .awe-btn-remove-file:hover {
  background-color: #fee2e2 !important;
  color: #b91c1c !important;
  border-color: #fca5a5 !important;
}

/* Form Helper Texts */
.awe-card-form .awe-help-text {
  display: block;
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 0.35rem;
  line-height: 1.45;
}

/* Submit Actions */
.awe-card-form .awe-form-actions {
  margin-top: 1.5rem;
}

.awe-card-form .awe-btn-primary {
  box-shadow: 0 4px 14px rgba(203, 65, 84, 0.25);
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
}

.awe-card-form .awe-btn-primary:hover {
  box-shadow: 0 6px 18px rgba(203, 65, 84, 0.35);
  transform: translateY(-1px);
}

.awe-card-form .awe-btn-primary:active {
  transform: translateY(0);
}

/* Form Feedback Notification */
.awe-card-form .awe-form-feedback {
  border-radius: 8px;
  padding: 0.85rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 1rem;
}

/* ================== VOLUNTEER SUBMISSION MODALS & SHARING ================== */
.awe-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 1.25rem;
  box-sizing: border-box;
  animation: aweFadeIn 0.25s ease-out forwards;
}

.awe-modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  animation: awePopUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes awePopUp {
  0% { opacity: 0; transform: scale(0.92) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.awe-modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.awe-modal-close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.awe-modal-head-celebrate {
  background: linear-gradient(135deg, #111c2e 0%, #1e293b 100%);
  color: #ffffff;
  padding: 2.25rem 2rem 1.75rem 2rem;
  text-align: center;
  position: relative;
}

.awe-modal-emoji-badge {
  font-size: 2.5rem;
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 auto 12px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.awe-modal-headline {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.awe-modal-subheadline {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
}

.awe-modal-inner-body {
  padding: 1.75rem 2rem 2rem 2rem;
}

.awe-modal-info-card {
  display: flex;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.awe-info-pill {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.awe-info-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
}

.awe-info-val {
  font-size: 0.92rem;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.awe-share-link-section {
  margin-bottom: 1.25rem;
}

.awe-share-heading {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.awe-share-input-row {
  display: flex;
  gap: 8px;
}

.awe-share-input-field {
  flex: 1;
  margin-bottom: 0 !important;
  font-size: 0.88rem !important;
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-weight: 600;
}

.awe-social-share-section {
  margin-bottom: 1.25rem;
}

.awe-social-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.awe-social-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.65rem 0.9rem;
  border-radius: var(--awe-radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
  color: #ffffff !important;
  transition: all 0.2s ease;
}

.awe-social-whatsapp {
  background: #25d366;
}
.awe-social-whatsapp:hover {
  background: #1ebc57;
  transform: translateY(-1px);
}

.awe-social-facebook {
  background: #1877f2;
}
.awe-social-facebook:hover {
  background: #0d6efd;
  transform: translateY(-1px);
}

.awe-social-twitter {
  background: #0f172a;
}
.awe-social-twitter:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.awe-social-linkedin {
  background: #0a66c2;
}
.awe-social-linkedin:hover {
  background: #004182;
  transform: translateY(-1px);
}

.awe-modal-track-hint {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #1e40af;
  line-height: 1.5;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 480px) {
  .awe-gateways-grid {
    grid-template-columns: 1fr;
  }
  .awe-donation-modal-card {
    padding: 1.75rem 1.25rem;
  }
  .awe-payment-confirm-card {
    padding: 1.5rem 1.25rem;
  }
  .awe-receipt-modal-card {
    padding: 1.5rem 1.25rem;
  }
  .awe-social-buttons-grid {
    grid-template-columns: 1fr;
  }
  .awe-modal-inner-body {
    padding: 1.25rem 1.25rem;
  }
}