:root {
  --primary-navy: #112a46;
  --brand-teal: #0c8c84;
  --bg-gradient: linear-gradient(145deg, #0d2238 0%, #0c8c84 100%);
  --input-bg: #f8fafc;
  --card-border: #e2e8f0;
  --text-dark: #1e293b;
  --teal-main: #008985;
  --teal-light: #e0f2f1;
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: "Estedad", sans-serif;
  background-color: #f1f5f9;
  color: var(--text-dark);
  min-height: 100vh;
}

/* لایه‌بندی اصلی */
.page-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* ستون اطلاع‌رسانی و بصری */
.info-panel {
  flex: 0 0 45%;
  background: var(--bg-gradient);
  color: #ffffff;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
}

/* هدر تمام‌عرض (۱۰۰٪) */
.info-header {
  width: 100%;
  margin-bottom: 2rem;
}

/* محتوای داخلی که باید ۷۰٪ عرض و وسط‌چین باشد */
.info-centered-content {
  width: 100%;
  max-width: 80%;
  margin: 0 auto;
}

/* پس‌زمینه محو دکوراتیو */
.info-panel::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(4, 136, 10, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.verse-card {
  background: rgba(255, 255, 255, 0.08);
  border-right: 4px solid #38ef7d;
  border-radius: 12px 4px 4px 12px;
  padding: 18px;
  margin: 20px 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* لیست مصارف جدید در پنل کناری */
.expense-list {
  list-style-type: none;
  padding: 0;
  margin: 16px 0 0 0;
}

.expense-list li {
  position: relative;
  padding-right: 20px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  opacity: 0.9;
}

.expense-list li::before {
  content: "•";
  position: absolute;
  right: 4px;
  color: #64ffda;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

/* ستون فرم و ثبت حمایت */
.form-panel {
  flex: 1;
  background-color: #ffffff;
  padding: 20px 30px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.form-container {
  width: 100%;
  max-width: 680px;
}

.form-control,
.form-select {
  border-radius: 10px;
  padding: 11px 14px;
  border: 1px solid var(--card-border);
  background-color: var(--input-bg);
  font-size: 0.95rem;
  transition: all 0.2s ease-in-out;
}

.form-control:focus {
  background-color: #ffffff;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(12, 140, 132, 0.15);
}

.amount-field {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-teal);
  letter-spacing: 0.5px;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

/* کارت‌های چک‌باکس فرم */
.cause-option {
  height: 100%;
  padding: 10px 14px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background-color: #ffffff;
  transition: all 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.cause-option:hover {
  border-color: var(--brand-teal);
  background-color: #f0fdfa;
}

.form-check-input:checked ~ .form-check-label {
  color: var(--primary-navy);
  font-weight: 600;
}

.form-check-input:checked {
  background-color: var(--brand-teal);
  border-color: var(--brand-teal);
}

.cause-box-group.is-invalid .cause-option {
  border-color: #dc3545;
  background-color: #fff8f8;
}

.btn-pay {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #173b61 100%);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.25s ease;
}

.btn-pay:hover {
  background: linear-gradient(135deg, #0a1b2e 0%, #0d2744 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(17, 42, 70, 0.25);
}

/* رسپانسیو برای تبلت و موبایل */
@media (max-width: 991.98px) {
  .page-wrapper {
    flex-direction: column;
  }

  .info-panel {
    flex: none;
    width: 100%;
    padding: 24px 20px;
    border-radius: 0 0 20px 20px;
  }

  .info-centered-content {
    max-width: 100%; /* در موبایل برای استفاده کامل از فضا ۱۰۰٪ شود */
  }

  .info-panel::before {
    display: none;
  }

  .form-panel {
    padding: 24px 16px 40px 16px;
    background-color: #f1f5f9;
  }

  .form-container {
    background: #ffffff;
    padding: 24px 18px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  }

  .mobile-collapse {
    display: none;
  }
  .mobile-collapse.show {
    display: block;
  }
  .collapse-toggle-btn {
    display: inline-flex !important;
  }
}

@media (min-width: 992px) {
  .collapse-toggle-btn {
    display: none !important;
  }
  .mobile-collapse {
    display: block !important;
  }
}

/* Language Selector Button */
.btn-lang {
  background-color: #f8f9fa;
  border: 1px solid #e2e8f0;
  color: var(--text-dark);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-lang:hover,
.btn-lang:focus {
  background-color: #edf2f7;
  border-color: #cbd5e1;
  color: var(--text-dark);
}
/* Generic Dropdown Styling */
.dropdown-menu-custom {
  border-radius: 12px;
  border: 1px solid #edf2f7;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  padding: 0.5rem;
  margin-top: 0.5rem !important;
  text-align: right;
}

.dropdown-menu-custom .dropdown-item {
  border-radius: 8px;
  font-size: 0.88rem;
  padding: 0.5rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.15s ease;
}

.dropdown-menu-custom .dropdown-item:hover {
  background-color: var(--teal-light);
  color: var(--teal-main);
}

.dropdown-menu-custom .dropdown-item.active {
  background-color: var(--teal-main);
  color: #ffffff;
  font-weight: 600;
}

.footer-contact-section {
  background-color: #ffffff;
  border-top: 1px solid #e9ecef;
  /* border-bottom: 1px solid #e9ecef; */
  padding: 1.5rem 0;
}
.enamad-box {
  border-right: 1px solid #dee2e6;
}
@media (max-width: 767.98px) {
  .enamad-box {
    border-right: none;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }
}
.contact-item {
  color: #2b3035;
  font-size: 0.95rem;
}
.contact-icon {
  color: #0d3b66;
  font-size: 1.25rem;
}
.btn-custom-action {
  background-color: #0d3b66;
  color: #ffffff;
  font-weight: 500;
  border-radius: 8px;
  padding: 12px 24px;
  transition: all 0.3s ease;
}
.btn-custom-action:hover {
  background-color: #1d4ed8;
  color: #ffffff;
}
