:root{
    --crs-font-family:"Tajawal",Arial,sans-serif;
}

html,
body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
}

@supports (overflow:clip){
    html,
    body{
        overflow-x:clip;
    }
}

body,
button,
input,
select,
textarea{
    font-family:var(--crs-font-family)!important;
}

img,
svg,
video,
canvas{
    max-width:100%;
}

main,
section,
article,
aside,
.wrap,
.content,
.card,
.header > *,
.crs-search-layout > *{
    min-width:0;
}

.wrap,
.header,
.top,
.footer,
.crs-search-layout{
    width:100%;
    max-width:100%;
}

input,
select,
textarea,
button{
    max-width:100%;
}

.crs-mobile-menu-toggle{
    display:none;
    width:46px;
    height:46px;
    flex:0 0 46px;
    padding:0;
    border:1px solid var(--line);
    border-radius:13px;
    background:#fff;
    color:var(--g);
    cursor:pointer;
    align-items:center;
    justify-content:center;
}

.crs-mobile-menu-toggle__icon,
.crs-mobile-menu-toggle__icon::before,
.crs-mobile-menu-toggle__icon::after{
    width:22px;
    height:2px;
    border-radius:999px;
    background:currentColor;
}

.crs-mobile-menu-toggle__icon{
    position:relative;
}

.crs-mobile-menu-toggle__icon::before,
.crs-mobile-menu-toggle__icon::after{
    content:"";
    position:absolute;
    left:0;
}

.crs-mobile-menu-toggle__icon::before{
    top:-7px;
}

.crs-mobile-menu-toggle__icon::after{
    top:7px;
}

.crs-mobile-menu-overlay{
    position:fixed;
    inset:0;
    z-index:89;
    background:rgba(5,26,17,.55);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .25s ease,visibility .25s ease;
}

.crs-mobile-drawer{
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    z-index:90;
    width:min(88vw,360px);
    max-width:100%;
    padding:
        max(20px,env(safe-area-inset-top))
        20px
        max(24px,env(safe-area-inset-bottom));
    overflow-y:auto;
    background:#fff;
    box-shadow:20px 0 60px rgba(0,0,0,.2);
    transform:translateX(-105%);
    visibility:hidden;
    transition:
        transform .3s cubic-bezier(.2,.8,.2,1),
        visibility .3s ease;
}

[dir="rtl"] .crs-mobile-drawer{
    left:auto;
    right:0;
    box-shadow:-20px 0 60px rgba(0,0,0,.2);
    transform:translateX(105%);
}

body.crs-mobile-menu-open{
    overflow:hidden;
    touch-action:none;
}

body.crs-mobile-menu-open .crs-mobile-menu-overlay{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

body.crs-mobile-menu-open .crs-mobile-drawer{
    transform:translateX(0);
    visibility:visible;
}

.crs-mobile-drawer__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding-bottom:18px;
    border-bottom:1px solid var(--line);
}

.crs-mobile-drawer__title{
    color:var(--gd);
    font-size:18px;
    font-weight:900;
}

.crs-mobile-menu-close{
    width:42px;
    height:42px;
    padding:0;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
    color:var(--text);
    font-size:26px;
    line-height:1;
    cursor:pointer;
}

.crs-mobile-drawer__nav{
    display:grid;
    gap:7px;
    padding:20px 0;
}

.crs-mobile-drawer__nav a{
    display:flex;
    align-items:center;
    gap:11px;
    min-height:50px;
    padding:11px 13px;
    border-radius:12px;
    color:var(--text);
    font-weight:800;
}

.crs-mobile-drawer__nav a.active,
.crs-mobile-drawer__nav a:hover,
.crs-mobile-drawer__nav a:focus-visible{
    background:var(--gs);
    color:var(--g);
}

.crs-mobile-drawer__actions{
    display:grid;
    gap:10px;
    padding-top:18px;
    border-top:1px solid var(--line);
}

.crs-mobile-drawer__actions .btn{
    width:100%;
    justify-content:center;
}

@media(max-width:900px){
    .header{
        height:auto;
        min-height:78px;
        padding:10px 16px;
        gap:12px;
    }

    .header .nav,
    .header .actions{
        display:none;
    }

    .crs-mobile-menu-toggle{
        display:inline-flex;
    }

    .header .logo{
        min-width:0;
        flex:1;
    }

    .header .logo img{
        display:block;
        width:auto;
        height:auto;
        max-width:min(64vw,220px);
        max-height:58px;
        object-fit:contain;
    }

    .top{
        padding:10px 16px;
        line-height:1.6;
    }

    .wrap{
        padding:28px 16px;
    }

    .hero,
    .grid-4,
    .grid-3,
    .grid-2,
    .footer-grid,
    .dashboard{
        grid-template-columns:minmax(0,1fr);
    }

    .crs-search-layout,
    .crs-filter-sidebar,
    .crs-search-results{
        width:100%;
        max-width:100%;
        min-width:0;
    }
}

@media(max-width:390px){
    .header{
        padding-inline:11px;
    }

    .header .logo img{
        max-width:min(60vw,190px);
    }

    .wrap{
        padding-inline:12px;
    }

    .crs-mobile-drawer{
        width:min(92vw,350px);
        padding-inline:16px;
    }
}

@media(prefers-reduced-motion:reduce){
    .crs-mobile-menu-overlay,
    .crs-mobile-drawer{
        transition:none;
    }
}

/* CRS-008F-D5 MOBILE FILTER UNIFORM CONTROLS */
@media(max-width:900px){
    .crs-search-page .crs-filter-form,
    .crs-search-page .crs-filter-section,
    .crs-search-page .crs-filter-group,
    .crs-search-page .crs-filter-group__body{
        width:100%;
        max-width:100%;
        min-width:0;
    }

    .crs-search-page .crs-filter-section--primary,
    .crs-search-page .crs-filter-group__body{
        display:grid;
        grid-template-columns:minmax(0,1fr);
        gap:16px;
    }

    .crs-search-page .crs-filter-form .field{
        display:grid;
        grid-template-columns:minmax(0,1fr);
        align-content:start;
        gap:8px;
        width:100%;
        min-width:0;
        margin:0;
    }

    .crs-search-page .crs-filter-form .field > label{
        display:flex;
        align-items:center;
        width:100%;
        min-height:24px;
        margin:0;
        font-size:15px;
        line-height:1.4;
        font-weight:800;
    }

    .crs-search-page .crs-filter-form .field
    input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    .crs-search-page .crs-filter-form .field select,
    .crs-search-page .crs-filter-form .crs-datetime-control{
        box-sizing:border-box!important;
        display:block!important;
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
        height:58px!important;
        min-height:58px!important;
        max-height:58px!important;
        margin:0!important;
        padding:0 16px!important;
        border:1px solid var(--line)!important;
        border-radius:14px!important;
        outline:0!important;
        background:#fff!important;
        box-shadow:none!important;
        color:var(--text)!important;
        font-family:var(--crs-font-family)!important;
        font-size:16px!important;
        line-height:58px!important;
        font-weight:500!important;
    }

    .crs-search-page .crs-filter-form .field
    input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
    .crs-search-page .crs-filter-form .field select:focus,
    .crs-search-page .crs-filter-form .crs-datetime-control:focus{
        border-color:rgba(0,108,53,.55)!important;
        box-shadow:0 0 0 3px rgba(0,108,53,.08)!important;
    }

    .crs-search-page .crs-filter-form .field select{
        padding-inline-end:44px!important;
    }

    .crs-search-page .crs-filter-form .crs-datetime-control{
        direction:ltr!important;
        text-align:center!important;
        appearance:none!important;
        -webkit-appearance:none!important;
        color-scheme:light;
    }

    .crs-search-page
    .crs-datetime-control::-webkit-date-and-time-value,
    .crs-search-page
    .crs-datetime-control::-webkit-datetime-edit,
    .crs-search-page
    .crs-datetime-control::-webkit-datetime-edit-fields-wrapper{
        min-height:0!important;
        margin:0!important;
        padding:0!important;
        border:0!important;
        background:transparent!important;
        line-height:normal!important;
        text-align:center!important;
    }

    .crs-search-page
    .crs-datetime-control::-webkit-calendar-picker-indicator{
        width:20px;
        height:20px;
        margin:0!important;
        padding:3px!important;
        border:0!important;
        background-color:transparent!important;
        box-shadow:none!important;
        opacity:.72;
    }

    .crs-search-page #filters .actions,
    .crs-search-page .crs-filter-actions,
    .crs-search-page .crs-filter-footer{
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        align-items:stretch!important;
        gap:10px!important;
        width:100%!important;
    }

    .crs-search-page #filters button[type="submit"],
    .crs-search-page #filters button[type="reset"],
    .crs-search-page #filters .btn{
        display:inline-flex!important;
        align-items:center!important;
        justify-content:center!important;
        gap:8px!important;
        width:100%!important;
        min-width:0!important;
        height:56px!important;
        min-height:56px!important;
        max-height:56px!important;
        margin:0!important;
        padding:0 12px!important;
        border-radius:14px!important;
        white-space:nowrap!important;
        font-size:16px!important;
        line-height:1.2!important;
    }
}

/* CRS-008F-D6 MOBILE DATETIME ALIGNMENT */
@media(max-width:900px){
    .crs-search-page .crs-datetime-control{
        box-sizing:border-box!important;
        height:58px!important;
        min-height:58px!important;
        padding-top:0!important;
        padding-bottom:0!important;
        line-height:56px!important;
        vertical-align:middle!important;
    }

    html[dir="rtl"]
    .crs-search-page .crs-datetime-control{
        direction:ltr!important;
        text-align:right!important;
        padding-left:16px!important;
        padding-right:16px!important;
    }

    html[dir="ltr"]
    .crs-search-page .crs-datetime-control{
        direction:ltr!important;
        text-align:left!important;
        padding-left:16px!important;
        padding-right:16px!important;
    }

    .crs-search-page
    .crs-datetime-control::-webkit-date-and-time-value,
    .crs-search-page
    .crs-datetime-control::-webkit-datetime-edit,
    .crs-search-page
    .crs-datetime-control::-webkit-datetime-edit-fields-wrapper{
        box-sizing:border-box!important;
        display:block!important;
        width:100%!important;
        height:56px!important;
        min-height:56px!important;
        margin:0!important;
        padding:0!important;
        border:0!important;
        line-height:56px!important;
        vertical-align:middle!important;
        background:transparent!important;
    }

    html[dir="rtl"]
    .crs-search-page
    .crs-datetime-control::-webkit-date-and-time-value,
    html[dir="rtl"]
    .crs-search-page
    .crs-datetime-control::-webkit-datetime-edit,
    html[dir="rtl"]
    .crs-search-page
    .crs-datetime-control::-webkit-datetime-edit-fields-wrapper{
        text-align:right!important;
    }

    html[dir="ltr"]
    .crs-search-page
    .crs-datetime-control::-webkit-date-and-time-value,
    html[dir="ltr"]
    .crs-search-page
    .crs-datetime-control::-webkit-datetime-edit,
    html[dir="ltr"]
    .crs-search-page
    .crs-datetime-control::-webkit-datetime-edit-fields-wrapper{
        text-align:left!important;
    }

    .crs-search-page
    .crs-datetime-control::-webkit-datetime-edit-text,
    .crs-search-page
    .crs-datetime-control::-webkit-datetime-edit-year-field,
    .crs-search-page
    .crs-datetime-control::-webkit-datetime-edit-month-field,
    .crs-search-page
    .crs-datetime-control::-webkit-datetime-edit-day-field,
    .crs-search-page
    .crs-datetime-control::-webkit-datetime-edit-hour-field,
    .crs-search-page
    .crs-datetime-control::-webkit-datetime-edit-minute-field,
    .crs-search-page
    .crs-datetime-control::-webkit-datetime-edit-ampm-field{
        margin:0!important;
        padding:0!important;
        border:0!important;
        line-height:56px!important;
        vertical-align:middle!important;
        background:transparent!important;
    }
}

/* CRS-008F-D7 MOBILE SEARCH POLISH */
@media(max-width:900px){
    .header{
        justify-content:flex-start;
    }

    .header .crs-mobile-menu-toggle{
        order:0;
        flex:0 0 auto;
    }

    .header .logo{
        order:1;
        flex:0 1 auto;
        width:auto;
        margin-inline-start:auto;
        margin-inline-end:0;
    }

    .header .logo img{
        display:block;
        margin:0;
        transform:none;
    }

    .crs-results-guide{
        max-width:620px;
        margin:8px 0 0;
        color:var(--muted);
        font-size:16px;
        line-height:1.75;
        font-weight:500;
    }

    .crs-filter-close{
        position:relative!important;
        display:inline-block!important;
        width:42px!important;
        height:42px!important;
        min-width:42px!important;
        min-height:42px!important;
        padding:0!important;
        border-radius:12px!important;
        color:var(--crs-color-primary)!important;
        font-size:0!important;
        line-height:0!important;
        text-align:center!important;
        vertical-align:middle!important;
        overflow:hidden!important;
    }

    .crs-filter-close::before,
    .crs-filter-close::after{
        content:"";
        position:absolute;
        top:50%;
        left:50%;
        width:19px;
        height:2px;
        margin:0;
        border-radius:999px;
        background:currentColor;
        transform-origin:center;
        pointer-events:none;
    }

    .crs-filter-close::before{
        transform:translate(-50%,-50%) rotate(45deg);
    }

    .crs-filter-close::after{
        transform:translate(-50%,-50%) rotate(-45deg);
    }
}


/* CRS-008F-D10 COMPANY BENEFIT CHECKS */
.crs-benefit-heading{
    display:inline-flex;
    align-items:center;
    gap:.55rem;
    font-weight:800;
    color:#12251d;
}
.crs-benefit-check{
    width:1.55rem;
    height:1.55rem;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(11,122,62,.12);
    color:#0b7a3e;
    font-size:.92rem;
    line-height:1;
    flex:0 0 1.55rem;
    box-shadow:inset 0 0 0 1px rgba(11,122,62,.08);
}
html[dir="rtl"] .crs-benefit-heading{
    flex-direction:row-reverse;
}
