/* ========================================================
   Darood Pak Recitation Program - Custom Styling (style.css)
   Colors: Emerald Green (#0d3826), Gold (#c59b27, #d4af37), Ivory (#f8faf8)
   ======================================================== */

:root {
  --islamic-green: #0d3826;
  --islamic-green-light: #165b3f;
  --islamic-green-hover: #082418;
  --islamic-gold: #c59b27;
  --islamic-gold-light: #f4e8c1;
  --islamic-cream: #fbfbf9;
  --islamic-dark: #1b2621;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  background-color: #f4f6f4;
  color: #212529;
}

.font-arabic {
  font-family: 'Amiri', 'Traditional Arabic', serif;
}

/* Islamic Header & Brand Bar */
.islamic-header {
  background: linear-gradient(135deg, #0d3826 0%, #165b3f 100%);
  border-bottom: 3px solid var(--islamic-gold);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.islamic-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.8;
  pointer-events: none;
}

/* Card Enhancements */
.card-islamic {
  border: 1px solid rgba(13, 56, 38, 0.12);
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.card-header-islamic {
  background: linear-gradient(to right, #0d3826, #165b3f);
  color: #ffffff;
  border-top-left-radius: 11px !important;
  border-top-right-radius: 11px !important;
  border-bottom: 2px solid var(--islamic-gold);
  padding: 1rem 1.25rem;
}

/* Gold Accents & Borders */
.gold-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--islamic-gold), transparent);
  margin: 1.5rem 0;
}

.text-gold {
  color: var(--islamic-gold) !important;
}

.border-gold {
  border-color: var(--islamic-gold) !important;
}

/* Buttons */
.btn-islamic {
  background-color: var(--islamic-green);
  color: #ffffff;
  border: 1px solid var(--islamic-gold);
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.btn-islamic:hover, .btn-islamic:focus {
  background-color: var(--islamic-green-hover);
  color: #fdfefe;
  border-color: #e5b32f;
  box-shadow: 0 4px 12px rgba(13, 56, 38, 0.25);
}

.btn-gold {
  background-color: var(--islamic-gold);
  color: #0d3826;
  border: 1px solid #b38a1e;
  font-weight: 600;
}

.btn-gold:hover {
  background-color: #d4af37;
  color: #082418;
}

/* Form Input Focus */
.form-control:focus, .form-select:focus {
  border-color: var(--islamic-green);
  box-shadow: 0 0 0 0.25rem rgba(13, 56, 38, 0.15);
}

/* Status Badges */
.badge-active-member {
  background-color: #e6f4ea;
  color: #137333;
  border: 1px solid #a8dab5;
  padding: 0.4em 0.75em;
  font-size: 0.85rem;
  border-radius: 6px;
  font-weight: 600;
}

.badge-withdrawn-member {
  background-color: #fce8e6;
  color: #c5221f;
  border: 1px solid #f5b7b1;
  padding: 0.4em 0.75em;
  font-size: 0.85rem;
  border-radius: 6px;
  font-weight: 600;
}

/* Print Slip Styles */
.slip-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 30px;
  background: #ffffff;
  border: 3px double var(--islamic-green);
  border-radius: 8px;
  position: relative;
}

.slip-seal {
  position: absolute;
  top: 30px;
  right: 35px;
  width: 90px;
  height: 90px;
  border: 2px dashed var(--islamic-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--islamic-green);
  font-size: 10px;
  font-weight: bold;
  transform: rotate(-10deg);
  opacity: 0.85;
}

@media print {
  body {
    background: #ffffff !important;
  }
  .no-print {
    display: none !important;
  }
  .slip-container {
    border: 2px solid #000;
    box-shadow: none;
    margin: 0;
    padding: 20px;
    width: 100%;
    max-width: 100%;
  }
}
