/* Import font from Google - Go to fonts.google.com, select a font and look for the import command */

/* @import url('https://fonts.googleapis.com/css2?family=Georama:wght@100&display=swap'); */

/* local font by AH */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');


@font-face {
font-family: 'Cairo';
font-style: normal;
font-weight: 500;
font-display: swap;
src: local(''),
url('../fonts/Cairo-Regular.woff') format('woff'), 
url('../fonts/Cairo-Regular.ttf') format('truetype'), 
}


:root {

    --cassiopeia-font-family-body: Tajawal, sans-serif;
    --cassiopeia-font-family-headings: Tajawal, sans-serif;


}


/* Use font on the page: On Google you can also find the CSS instruction for using the font. If you put this in the body element then the font will be used on the whole website. */

body {
    font-family: Tajawal, sans-serif;
}

h1 {
	font-family: Tajawal, Cairo, sans-serif;
}

h2 {
	font-family: Cairo, sans-serif;
}

h3 {
	font-family: Cairo, sans-serif;
}


.metismenu.mod-menu .metismenu-item {
    font-size: 1.2rem;
	}
	
/* by AH - 11 April, 2025 */

.container-header {
	background-image: url('https://isrp.deplanacademy.com/images/usa-flag-background_new-2a.jpg');
	background-size: cover;
	/* background-position: center center; */
}

.footer {
	background-image: url('https://isrp.deplanacademy.com/images/usa-flag-background_new-2a.jpg');
	background-size: cover;
}

.container-header .container-search {
    background-color: var(--cassiopeia-color-primary);
    border-color: var(--cassiopeia-color-primary);
    border-radius: 5px;
    /* padding: 5px; */
	padding-left: 5px;
    padding-right: 5px;
}


/* by AH - 24 Aug. 2025 TEST indent packages */

.hanging-indent {
  text-align: justify;
  text-indent: -1.5em; /* Pulls the first line back */
  padding-left: 1.5em; /* Pushes the rest forward */
}


/* new style color --- 2 Nov. 2025 */ 

/* ===== Cassiopeia Child Custom Colors ===== */

/* الألوان الأساسية */
:root {
  --cassiopeia-color-primary: #bf0d3e; /* نبيتي */
  --cassiopeia-color-secondary: #434446; /* رمادي غامق */
  --cassiopeia-color-hover: #a20b35;
  --cassiopeia-color-light: #f5f5f5;
  --cassiopeia-color-dark: #2a2a2a;
}

/* خلفية الموقع */
body {
  background-color: var(--cassiopeia-color-light);
  color: var(--cassiopeia-color-secondary);
}

/* رأس الصفحة */
.header {
  background-color: var(--cassiopeia-color-secondary);
  color: #fff;
}

/* روابط الموقع */
a {
  color: var(--cassiopeia-color-primary);
}
a:hover,
a:focus {
  color: var(--cassiopeia-color-hover);
  text-decoration: none;
}

/* أزرار */
.btn,
button,
input[type="submit"] {
  background-color: var(--cassiopeia-color-primary);
  border-color: var(--cassiopeia-color-primary);
  color: #fff;
}
.btn:hover,
button:hover,
input[type="submit"]:hover {
  background-color: var(--cassiopeia-color-hover);
}

/* التذييل */
.footer {
  background-color: var(--cassiopeia-color-secondary);
  color: #ccc;
}

/* القوائم */
.navbar,
.navbar-nav > li > a {
  color: #fff;
}
.navbar-nav > li > a:hover {
  background-color: var(--cassiopeia-color-primary);
  color: #fff;
}

/* بطاقات ومربعات */
.card {
  border: 1px solid #dcdcdc;
  background: #fff;
}
.card-header {
  background-color: var(--cassiopeia-color-primary);
  color: #fff;
}

.view-page.iscr-reg .sppb-section:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* logo size */

/* الحجم الطبيعي على الشاشات الكبيرة */
.container-header .navbar-brand img {
    max-height: 90px;
    height: auto;
}

/* عند الشاشات الصغيرة (موبايل) */
@media (max-width: 768px) {
    .container-header .navbar-brand img {
        max-height: 75px; /* صغّر الحجم هنا */
        height: auto;
        width: auto;
    }
}

/* عند الشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .container-header .navbar-brand img {
        max-height: 60px; /* أصغر درجة لسلاسة */
    }
}


/* جدول الباقات فى لوحة المستخدم لتناسب الموبايل */

/* تفعيل التمرير الأفقي للجدول في الشاشات الصغيرة */
@media (max-width: 768px) {
    #osm-subscription-history table {
       /* display: block;
        width: 100%; */
		
		display: block;
        width: max-content;
        min-width: 100%;
       /* overflow-x: auto; */
        white-space: nowrap;
    }

    #osm-subscription-history table thead,
    #osm-subscription-history table tbody,
    #osm-subscription-history table tr,
    #osm-subscription-history table th,
    #osm-subscription-history table td {
        white-space: nowrap;
    }
}




/* يظهر فقط على الشاشات الصغيرة */
@media (min-width: 768px) {
    #osm-subscription-history table::before {
        display: none;
    }
}


/* جعل حاوية الجدول قابلة للتمرير */
#osm-subscription-history {
   overflow-x: auto; 
}

/* تخصيص شريط التمرير للفكرة داخل الـ div */
#osm-subscription-history::-webkit-scrollbar {
    height: 8px; /* ارتفاع الشريط */
}

#osm-subscription-history::-webkit-scrollbar-track {
    background: #eee; /* الخلفية الرمادية الخفيفة */
    border-radius: 10px;
}

#osm-subscription-history::-webkit-scrollbar-thumb {
    background: #bf0d3e; /* النبيتي */
    border-radius: 10px;
}

#osm-subscription-history::-webkit-scrollbar-thumb:hover {
    background: #a00b36; /* أغمق قليلاً عند اللمس */
}


/* إجبار ظهور الأعمدة المخفية في الموبايل */
#osm-subscription-history table td.d-none,
#osm-subscription-history table th.d-none {
    display: table-cell !important;
}

#osm-subscription-history table td,
#osm-subscription-history table th {
    white-space: nowrap;
}


/* OSmembership pro Title */

/* تصغير حجم عنوان OSMembership فقط على الموبايل */
@media (max-width: 768px) {
    h1.osm-page-title {
        font-size: 1.4rem !important;  /* يمكنك جعلها 1.2rem إذا أردتها أصغر */
        line-height: 1.3;
    }
}


/* تصغير حجم عنوان OSMembership فقط على الموبايل */
@media (min-width: 768px) {
    h1.osm-page-title {
        font-size: calc(1rem + 1.1vw); /* نسخة أصغر ومناسبة للكمبيوتر */
    }
}


/* Modal Button , 23 Nov., 2025 */

.modal-buttons-wrapper {
    text-align: center !important;
    margin: 20px 0;
}

.modal-btn {
    display: inline-block;
    background-color: #0d6efd; /* لون أزرار SP */
    color: #fff !important;
    padding: 12px 22px;
    font-size: 16px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 500;
    cursor: pointer;
    margin: 7px;
    transition: 0.3s ease;
    border: 2px solid transparent;
}

.modal-btn:hover {
    background-color: #084ec3;
    transform: translateY(-3px);
}

/* تخصيص لون عنوان المودال */
.modal-title {
    color: #007bff; /* أزرق ثابت */
   /* font-weight: bold; /* اختياري */
    /* font-size: 1.5rem; /* اختياري */
}


/* H1 font size - Article Title desktop */

	h1, .h1 {
		color: #bf0d3e; /* نبيتي */
    }
	
@media (width >= 1200px) {
    h1, .h1 {
        font-size: 2rem;
    }
	
/* convert forms slect field */
/* شكل العناوين */
/* select option[value^="heading"] {
    font-weight: bold;
    background: #f0f0f0;
    color: #444;
} */
/* العناوين */
select option[value^="heading"] {
    font-weight: bold;
    background: #f5f5f5 !important;   /* أفتح من السابق */
    color: #999 !important;            /* خط باهت جدًا */
}

/* الخيارات */
select option:not([value^="heading"]) {
    background: #ffffff !important;
    color: #222 !important;            /* واضح */
}

/* منع تحديد العنوان */
select option[value^="heading"]:disabled {
    color: #999 !important;
}

/* إلغاء hover */
select option[value^="heading"]:hover {
    background: #f5f5f5 !important;
}

/* menu link updated 20 - 12 - 2025 */ 

/* ==================================================
   Header Main Menu – Cassiopeia (RTL)
   Cairo Font – Desktop & Mobile
================================================== */

/* الروابط الأساسية */
.container-header .mod-menu a {
    font-family: "Cairo", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #ffffff !important;

    padding: 8px 12px;
    line-height: 1.8;

    text-decoration: none !important;
    border-radius: 6px;

    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Hover / Focus */
.container-header .mod-menu a:hover,
.container-header .mod-menu a:focus {
    background-color: rgba(255, 255, 255, 0.20);
    color: #ffffff !important;
}

/* العنصر النشط */
.container-header .mod-menu li.active > a,
.container-header .mod-menu a[aria-current="page"] {
    background-color: #ffffff;
    color: #bf0d3e !important;
    font-weight: 700 !important;
    padding: 8px 14px;
}

/* ==================================================
   Reduce spacing BETWEEN menu buttons (Desktop)
================================================== */

@media (min-width: 992px) {

    .container-header .mod-menu {
        column-gap: 4px; /* دعم flex-gap */
    }

    .container-header .mod-menu > li {
        margin-inline-start: 2px !important;
        margin-inline-end: 2px !important;
    }
}

/* ==================================================
   Mobile Menu – Same Cairo Font
================================================== */

@media (max-width: 991px) {

    .container-header .mod-menu a {
        font-family: "Cairo", sans-serif !important;
        font-size: 1.05rem !important;
        padding: 10px 14px;
        line-height: 2;
    }

    .container-header .mod-menu li {
        margin-bottom: 2px;
    }

    .container-header .mod-menu li.active > a {
        background-color: rgba(255, 255, 255, 0.15);
        color: #ffffff !important;
    }
}

/* تسجيل الدخول + تسجيل الخروج */
/* ==================================================
   Header Login / Logout – Burgundy Button Style
================================================== */

.container-header .container-search a,
.container-header .container-search button {
    font-family: "Cairo", sans-serif !important;
    font-size: 0.9rem;
    padding: 6px 16px;

    border-radius: 4px;
    border: none !important;

    background-color: var(--cassiopeia-color-primary) !important;
    color: #ffffff !important;

    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;

    cursor: pointer;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

/* Hover */
.container-header .container-search a:hover,
.container-header .container-search button:hover {
    background-color: var(--cassiopeia-color-hover) !important;
}

/* إزالة أي تنسيق Bootstrap سابق */
.container-header .container-search .btn,
.container-header .container-search .logout {
    background-image: none !important;
    box-shadow: none !important;
}

/* Local price رسالة العملة المحلية */

/* تنسيق صندوق السعر المحلي */
.osm-container .local-currency-box {
    margin-top: 10px;
    padding: 10px 14px;
    background: #f8f9fa;
    border: 1px dashed #ccc;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    display: inline-block;
    min-width: 260px;
    text-align: center;
}

/* النص الصغير */
.osm-container .local-currency-box small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #777;
}

/* سطر واحد */
.osm-container .local-currency-box {
    display: inline-block;
    margin-inline-start: 10px;
    font-weight: 600;
}

/* fix shift right in mobile */

/* منع الانزلاق المؤقت بسبب WhatsApp */
/* تثبيت عرض الصفحة على الموبايل */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
  }
}

@media (max-width: 768px) {
  .wa_agent {
    max-width: 100% !important;
    left: 10px !important;
    right: 10px !important;
    box-sizing: border-box !important;
  }
}
