/* ---------- Bootstrap v4.0.0 Overrides & Custom Styles ---------- */
:root {
  --services-primary: #007d65;
  --bg: #b6dad3;
  --border: #e1e7e4;
  --text: #222;
}

/* Override Bootstrap's box-sizing for consistency */
*, *::before, *::after { 
  box-sizing: border-box; 
}



/* Links */
/*
a { 
  color: var( --services-primary) !important; 
  text-decoration: none !important; 
}
a:hover, a:focus { 
  text-decoration: underline !important; 
  color: var( --services-primary) !important;
} */

/* ---------- Header Styles ---------- */
.service-header {
  padding: 24px 0;
  text-align: right;
  background: var(--bg);
}

.breadcrumb-custom { 
  font-size: 14px; 
  color: #777; 
  margin-bottom: 10px;
}

.service-title { 
  margin: 0 0 15px 0; 
  font-size: 32px; 
  font-weight: 700; 
  color: var(--services-primary) !important;
  display: flex;
    justify-content: space-between;
}


/* Chips */
.chips { 
  display: flex; 
  gap: 8px; 
  margin: 12px 0; 
  flex-wrap: wrap;
}

.chip {
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 12px;
  background: #927e4f;
  display: inline-block;
  color: #fff;
}

.chip-active { 
  background: var( --services-primary) !important; 
  color: #fff !important; 
}

.service-description { 
  /* max-width: 600px;  */
  line-height: 1.8 !important; 
  margin: 0 0 16px; 
}

/* Custom Primary Button */
.btn-start-service {
  background: var( --services-primary) !important;
  border-color: var( --services-primary) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 10px;
}

.btn-start-service:hover,
.btn-start-service:focus,
.btn-start-service:active {
  background: #026b44 !important;
  border-color: #026b44 !important;
  color: #fff !important;
}

.agreement-link { 
  font-size: 14px; 
  margin-top: 6px; 
  display: inline-block; 
}

/* ---------- Content Wrapper ---------- */
.content-wrapper {
  padding: 24px 0;
}

/* ---------- Service Info Card (Sidebar) ---------- */
.service-info-card {
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05) !important;
}

.service-info-card .card-body {
  padding: 24px;
}

.info-section { 
  margin-bottom: 24px; 
}

.info-section h4 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  color:var(--services-primary);
}

.info-section p { 
  margin: 0; 
  font-size: 14px; 
  line-height: 1.6; 
  color: #555; 
}

.icon { 
  font-size: 16px; 
  color: var( --services-primary); 
}

/* Payment Logos */
.payment-logos {
  margin-top: 4px;
}

.pay-logo { 
  height: 32px; 
  margin: 4px; 
}

/* Divider */
.divider {
  border: none !important;
  height: 1px;
  background: var(--border);
  margin: 24px -24px !important;
}

/* User Guide Button */
.btn-user-guide {
  background: #f0f0f0 !important;
  color: #333 !important;
  border: 1px solid #ddd !important;
  font-size: 14px;
  border-radius: 6px;
}

.btn-user-guide:hover,
.btn-user-guide:focus {
  background: #e6e6e6 !important;
  color: #333 !important;
  border-color: #ccc !important;
}

.mobile-title { 
  margin-bottom: 12px; 
  font-size: 14px;
  font-weight: 700;
}

.app-badges { 
  display: flex; 
  gap: 12px; 
  flex-wrap: wrap; 
}

.app-badges img { 
  height: 40px; 
  max-width: 120px;
}

/* ---------- Main Content Area ---------- */
.service-details {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

/* Custom Tabs */
.custom-tabs {
  border-bottom: 1px solid var(--border) !important;
  margin-bottom: 20px;
}

.custom-tabs .nav-item .nav-link {
  border: none !important;
  border-bottom: 3px solid transparent !important;
  color: #555 !important;
  font-size: 16px;
  padding: 12px 15px !important;
  margin-right: 32px;
  border-radius: 0 !important;
}

.custom-tabs .nav-item .nav-link.active,
.custom-tabs .nav-item .nav-link:hover,
.custom-tabs .nav-item .nav-link:focus {
  color: var( --services-primary) !important;
  background: transparent !important;
  border-bottom-color: var( --services-primary) !important;
  font-weight: 800;
}

.custom-tabs .nav-item .nav-link:hover {
  background: transparent !important;
  border-bottom-color: #ccc !important;
}

/* Video Placeholder */
.video-placeholder {
  height: 260px;
  border-radius: 8px;
  background: #eef6f1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.play-icon { 
  font-size: 48px; 
  color: var( --services-primary); 
}

/* Steps List */
.steps-list {
  list-style: arabic-indic inside;
  padding-right: 20px;
  line-height: 2;
}

.steps-list li { 
  margin-bottom: 8px; 
  font-size: 14px; 
  list-style-image: url('/Style Library/Arabic/images/i1.svg');
}
.steps-list li::marker {
  font-weight: bold; 
  font-size: 2rem;
}
/* Steps List */
.requirements-list {
  list-style: arabic-indic inside;
  padding-right: 20px;
  line-height: 2;
}

.requirements-list li { 
  margin-bottom: 8px; 
  font-size: 14px; 
  list-style-image: url('/Style Library/Arabic/images/i1.svg');
}
.requirements-list li::marker {
  font-weight: bold; 
  font-size: 2rem;
}


/* Tab Content */
.tab-content {
  border: none;
}

.tab-pane .card {
  margin-top: 20px;
}

/* ---------- Bootstrap Grid Overrides for RTL ---------- */
.container {
  direction: rtl;
}

.row {
  direction: rtl;
}

[class*="col-"] {
  direction: rtl;
}

/* Fix for Bootstrap RTL issues */
.col-md-4 {
  padding-left: 0;
  padding-right: 15px;
}

.col-md-8 {
  padding-right: 0;
  padding-left: 15px;
}

/* ---------- Responsive Design ---------- */
@media (max-width: 991px) {
  .col-md-4,
  .col-md-8 {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 20px;
  }
  
  .service-header {
    text-align: center;
  }
  
  .chips {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .custom-tabs .nav-item .nav-link {
    margin-right: 10px;
    font-size: 16px;
	width: min-content;
	min-height:100%
  }
  
  .service-title {
    font-size: 28px;
  }
  
  .app-badges {
    justify-content: center;
  }
}

/* ---------- Print Styles ---------- */
@media print {
  .service-header,
  .service-info-card {
    background: #fff !important;
  }
}
a.btn.btn-primary.btn-start-service {
    background-color: var(--services-primary) !important;
}




