@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');
.body, .portalContainer{
	font-family: "IBM Plex Sans Arabic", serif;
}

.customTab {
    display: flex;
    align-items: center;
    margin: 0 15px;
}
.home .Layout__twoColumn {
    display: flex;
    justify-content: center;
}

.customTab .Button__button {
    background-color: #0e7490;
    box-shadow: 0 2px #0e7490;
}
#formShortCut {
    display: none;
}
.signin .UserSigninContainer__agentlogin span {
    font-size: 0;
}
.signin .UserSigninContainer__agentlogin span::before {
    content: 'هل أنت موظف؟ ';
    font-size: .875rem;
}

.article_subcategory .Layout__layout2 .Menu__arrowTree h3.CategoriesContainer__solutionListHeading,
.articleList .Layout__layout2 .Menu__arrowTree h3.CategoriesContainer__solutionListHeading,
.articleDetail .Layout__layout2 .widgetItem .Menu__arrowTree h3.CategoriesContainer__solutionListHeading{
   font-size:0px; 
}
.article_subcategory .Layout__layout2 .Menu__arrowTree h3.CategoriesContainer__solutionListHeading:before,
.articleList .Layout__layout2 .Menu__arrowTree h3.CategoriesContainer__solutionListHeading:before,
.articleDetail .Layout__layout2 .widgetItem .Menu__arrowTree h3.CategoriesContainer__solutionListHeading:before{
 font-size:21px;
  content: 'الأقسام';
}

.KBArticleRightContainer__categoryDescription {
  margin-top: 15px;
}




/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}

.container {
    max-width: 1600px;
    margin: auto;
    padding: 20px;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on large screens */
    gap: 20px;
}

/* Responsive Grid */
@media (max-width: 900px) {
    
  .home .Layout__twoColumn {
    display: block;
    justify-content: center;
}
  .grid {
        display: grid !important;
        grid-template-columns: 1fr !important; /* Single column layout */
        gap: 20px; /* Ensure spacing between elements */
    }

    .signin-box {
        grid-column: 1 / -1 !important; /* Ensure it spans full width */
        width: 100% !important;
        display: flex !important;
        position: relative !important; /* Remove absolute positioning */
        margin-top: 35px !important;
        align-items: center;
        justify-content: center;
        order: 1; /* Push it below the other elements */
    }
}


/* Card Styles */
.section-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease-in-out;

}

.section-card:hover {
    transform: scale(1.05);
}

.section-card h4 {
    color: #333;
    font-size: 16px;
    padding-top: 15px;
}

.CommonStyle__posAbsolute {
    position: relative;
}

.Header__tabsList {
padding-top: 50px;
}

.Header__headerContainer {
padding-top: 30px;
}

.card {
     position: absolute;
     display: flex;
     flex-direction: column;
     min-width: 0px;
     overflow-wrap: break-word;
     background-color: rgb(255, 255, 255);
     background-clip: border-box;
     border: 1px solid #473B93;
     border-radius: 0.25rem;
}

.signin-box {
     background-color: #faf0f0;
     position: relative;
     min-height: 400px;
     z-index: 5;
     display: flex;
     margin-top: 35px;

     align-items: center;

     justify-content: center;
     flex-direction: column;
     padding: 40px 20px;
     border: none !important;
}

.signin-box::after {
     position: relative;
     content: "";
     top: 0px;
     left: 0px;
     width: 100%;
     height: 100%;
     z-index: -1;
     background: rgba(146, 151, 156);
}

.rtl-mode h4 {
     font-family: "IBM Plex Sans Arabic", serif;
}

 h4 {
     margin-top: 0px;
     margin-bottom: 1.5rem;
}

.signin-box h4 {
     font-weight: bold;
     font-size: 28px;
     color: rgb(34, 34, 34);
     margin: 0px 0px 30px;
}

.rtl-mode .list-group {
     padding-right: 0px;
}

 ul {
     margin-top: 0px;
     margin-bottom: 1rem;
}

.card > .list-group {
     border-top: inherit;
     border-bottom: inherit;
}

.card > .list-group:last-child {
     border-bottom-width: 0px;
     border-bottom-right-radius: calc(-0.75rem);
     border-bottom-left-radius: calc(-0.75rem);
}


.list-group {
     display: flex;

     flex-direction: column;
     padding-left: 0px;
     margin-bottom: 0px;
     border-radius: 0.25rem;
}

.signin-box .list-group {
     width: 100%;
}


.card > .list-group:first-child {
     border-top-width: 0px;
     border-top-left-radius: calc(-0.75rem);
     border-top-right-radius: calc(-0.75rem);
}

a {
     color: rgb(0, 123, 255);
     text-decoration: none;
     background-color: transparent;
}

.list-group-item-action {
     width: 100%;
     color: rgb(73, 80, 87);
     text-align: inherit;
}

.list-group-item {
     position: relative;
     display: block;
     padding: 0.75rem 1.25rem;
     background-color: rgb(246, 246, 246);
     border: 1px solid rgba(0, 0, 0, 0.125);
}
.list-group-item:first-child {
     border-top-left-radius: inherit;
     border-top-right-radius: inherit;
}

.d-flex {
     display: flex !important;
}

.justify-content-between {

     justify-content: space-between !important;
}

.align-items-center {

     align-items: center !important;
}


a:hover {
     color: rgb(41, 38, 38);
     text-decoration: underline;
}

.list-group-item-action:focus {
     z-index: 1;
     color: rgb(73, 80, 87);
     text-decoration: none;
     background-color: rgb(248, 249, 250);
}

.list-group-item-action:active {
     color: rgb(33, 37, 41);
     background-color: rgb(233, 236, 239);
}

.list-group-item:last-child {
     border-bottom-right-radius: inherit;
     border-bottom-left-radius: inherit;
}


.list-group-item:disabled {
     color: rgb(108, 117, 125);
     pointer-events: none;
     background-color: rgb(255, 255, 255);
}

.badge {
     display: inline-block;
     padding: 0.25em 0.4em;
     font-size: 75%;
     font-weight: 700;
     line-height: 1;
     text-align: center;
     white-space: nowrap;
     vertical-align: baseline;
     border-radius: 0.25rem;
     transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}


.badge-pill {
     padding-right: 0.6em;
     padding-left: 0.6em;
     border-radius: 10rem;
}

.badge-warning {
     color: rgb(33, 37, 41);
     background-color: rgb(14, 116, 144);
}

.signin-box .list-group .list-group-item .badge {
     color: rgb(255, 255, 255);
}

.badge:empty {
     display: none;
}


.list-group-item + .list-group-item {
     border-top-width: 0px;
}

/* إصلاح عرض القوائم */
.articleDetail ul,
.articleDetail ol,
.KBArticleRightContainer__categoryDescription ul,
.KBArticleRightContainer__categoryDescription ol {
  list-style-position: inside; /* ممكن تخليها outside حسب شكل المحتوى */
  padding-left: 1.5rem; /* مسافة قبل النقط أو الأرقام */
  margin-bottom: 1rem;
}

.articleDetail ul {
  list-style-type: disc; /* نقط */
}

.articleDetail ol {
  list-style-type: decimal; /* أرقام */
}

