    /* ----- تنظیمات پایه ----- */
    :root {
		--bg-color: #fcf0e4;
		--btn-bg: #e8d2c0;
		--btn-txt: #704319
		--btn-hover-bg: #dcc0a8;
    }

    body {
		font-family: 'IRANSans', system-ui, -apple-system, BlinkMacSystemFont, ‘Segoe UI’, sans-serif;
		background-color: var(--bg-color);
		background-image: url("../img/BGPattern.png");
		background-repeat: repeat;
		scroll-behavior: smooth; 
		-webkit-font-smoothing: antialiased;
    }
	body *:not(button):not(input):not(select) {
	  user-select: none !important;
	}
	.mt-nagtive {
		margin-top:-6px;
	}
	.border-pattern-top, .border-pattern-bottom {
		height: 15px;
		background-image: url("../img/IslamicBorderTop.png");
		background-repeat: repeat-x;
	}
	.border-pattern-bottom {
		background-image: url("../img/IslamicBorderBottom.png");
	}
    
	.chocobar, .chococoin {
		background-color: #e8d2c0;
		color: #704319;
		box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.3);
		font-weight: bold;
		text-align: center;
		cursor: pointer;		
		border: none;
		text-align: center;
		display: flex;              /* این خط باعث میشه محتوا فلکسیبل بشه */
		align-items: center;        /* عمودی وسط‌چین */
		justify-content: center;    /* افقی وسط‌چین */
		transition: background-color 0.2s ease-in-out;
	}
	.chocobar i, .chococoin i {
		line-height: 1;
	}
	.chococoin {
		width:42px;
		height:42px;
		border-radius: 50%;
	}
	.chocobar {
		padding: 8px 12px;
		border-radius: 10px;
	}
	.chocobar:hover, .chococoin:hover {
		background-color: #dcc0a8;
	}
	.chocobar:active, .chococoin:active {
		transform: scale(0.9);
	}

	/* ----- منو خانه ----- */
	.nav {
		;
	}

    /* ----- نوار ابزار پایین ----- */
    .toolbar {
    }
    .toolbar button {
    }

    /* دکمه‌های استاندارد بجای DIV */
    .toolbar .btn-custom {
    }
    .toolbar .btn-custom:active {
    }

    /* ----- کانتینر متن دعا ----- */
    .custom-container {
		background-color: #f9efe3;
		border: 1px solid #ccb49a
    }

    .context-title {
      display: block;
      margin: 15px 0;
      font-weight: bold;
      color: var(--text-main);
      font-size: 1.2em;
      text-align: center;
      /* border-bottom: 2px dashed #dcc0a8;
      padding-bottom: 10px; */
    }

    /* ----- متن نکات، عربی و فارسی ----- */
	
	.note {
      display: block;
      margin: 15px 0;
      font-weight: bold;
      color: #704319;
      text-align: center;
	}

    .arabic {
      display: block;
      margin-top: 15px;
      color: #000;
      cursor: pointer;
      transition: color 0.3s ease;
    }
    
    .fa {
      display: block;
	  background-color: #f3e6d7;
      color: #704319;
	  padding: 5px 15px;
      border-radius: 10px;
	  margin: 15px;
      font-size: 0.75em; /* ترجمه کمی کوچکتر از متن اصلی */
      opacity: 0.85;
    }
	
	.text-justify {
	  text-align: justify;
	}
    /* هایلایت متن فعال */
    .active-row {
      color: red !important;
      font-weight: bold;
      /* افکت برجسته شدن */
      text-shadow: 0 0 1px rgba(211, 84, 0, 0.2); 
    }

    /* ----- انتخاب خواننده ----- */
    .vocal-selector {
      text-align: center;
      margin: 10px 0;
      position: sticky;
      top: 0;
      background: rgba(250, 243, 236, 0.95);
      padding: 10px;
      z-index: 900;
      backdrop-filter: blur(5px);
    }
    .badge-vocal {
      padding: 6px 12px;
      margin: 0 4px;
      border-radius: 15px;
      cursor: pointer;
      font-size: 0.9rem;
      border: 1px solid transparent;
      transition: all 0.2s;
    }

    /* ----- صفحه تنظیمات ----- */
    .settings {
      text-align: right;
      width: 100%;
      max-width: 600px;
      margin: 0 auto;
    }
    .settings label {
      display: block;
      margin-top: 15px;
      font-weight: bold;
      color: var(--text-secondary);
    }
    .settings .range-value {
      text-align: center;
      font-size: 0.9em;
      color: #666;
    }
    .settings button.action-btn {
      width: 100%;
      margin-top: 15px;
      padding: 10px;
      border: none;
      border-radius: 8px;
      background: #dcc0a8;
      color: var(--text-secondary);
      font-weight: bold;
    }
	.dropdown-auto {
		min-width: auto !important;
		width: auto !important;
	}



.volume-control {
	width: 46px;
	background: rgba(112, 67, 25, 0.9);
	color: #e8d2c0;
	box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	padding: 0.8rem 0.6rem;
	border-radius: 1rem;
}

.vol-btn {
  border: none;
  background: none;
  color: #e8d2c0;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.1s;
}
.vol-btn:active {
  transform: scale(0.85);
  color: #ffb167;
}

/* محفظه ستون صدا */
.volume-track {
  position: relative;
  width: 8px;
  height: 100px;
  border-radius: 5px;
  background: #3c2a1e;
  overflow: hidden;
  margin: 0.4rem 0;
}

/* قسمت پرشده (رنگی) */
.volume-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #e8d2c0;
  transition: height 0.15s linear;
  border-radius: 5px;
}

/* اسلایدر نامرئی روی ستون برای تعامل */
.volume-slider {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) rotate(90deg);
  width: 100px;
  height: 40px;
  opacity: 0;
  cursor: pointer;
  appearance: none;
}

  .audio-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.2);
    object-fit: cover;
  }

  .audio-radio-label {
    border: 1px solid #704319;
    color: #704319;
    background-color: transparent;
    justify-content: flex-start;
  }

  .btn-check:checked + .audio-radio-label {
    background-color: #e8d2c0 !important;
    color: #3d2a16 !important;
    border-color: #704319 !important;
  }

  .audio-radio-label:hover {
    background-color: #f5e7dc;
  }
  
.nav-pills .nav-link {
  color: #e8d2c0 !important;
  border-radius: 0 !important;
}

.nav-pills .nav-link.active {
  background-color: #fcf0e4 !important;
  color: #704319 !important;
  font-weight: bold;
}
#pills-home-tab {
  border-top-left-radius: 8px !important;
  border-top-right-radius: 0 !important;
}

#pills-profile-tab {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 8px !important;
}

/* جلوگیری از تداخل بوت‌استرپ */
.nav-pills .nav-link {
  border-radius: 0 !important;
}




.loader-overlay {
  position: fixed;
  inset: 0;
  background-color: #fcf0e4;
  display: flex;
  justify-content: center;
  align-items: flex-end; /* قرارگیری پایین صفحه */
  padding-bottom: 80px;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

.loader-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}
