/* ===== Login screen: modern look (background picture, glass cards, one-icon fields) ===== */
html body::after{
    background-image:url('../../images/login-bg.svg') !important;
    background-size:cover !important;background-position:center !important;background-repeat:no-repeat !important;
    opacity:1 !important;filter:none !important;
}
/* the info panel (left in LTR, right in RTL): dark glass */
.no-gutters > .col-lg-4{
    background:linear-gradient(180deg,rgba(24,72,140,.5),rgba(30,110,160,.38)) !important;
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    box-shadow:0 0 36px rgba(20,60,120,.25) !important;
}
.no-gutters > .col-lg-4 .slider-content h3{font-weight:700;text-shadow:0 2px 12px rgba(0,0,0,.35);}
.no-gutters > .col-lg-4 .slider-content p{color:rgba(255,255,255,.88);}
.no-gutters > .col-lg-4 .btn-gradient-dark{background:rgba(255,255,255,.14) !important;border:1px solid rgba(255,255,255,.28) !important;color:#fff !important;border-radius:10px;transition:background .15s,transform .15s;}
.no-gutters > .col-lg-4 .btn-gradient-dark:hover{background:rgba(255,255,255,.26) !important;transform:translateY(-1px);}
.no-gutters > .col-lg-4 #package{height:42px;border-radius:12px;border:0;box-shadow:0 6px 18px rgba(0,0,0,.18);}
/* the sign-in side: transparent, the card floats on the picture */
#pos{background:transparent !important;}
.lgn-card{
    /* a fixed size, so the card is the same in every language (its container shrinks to its content, which differs between English and Arabic) */
    width:440px;max-width:calc(100vw - 36px);margin:0 auto;text-align:start;box-sizing:border-box;
    background:rgba(255,255,255,.94);border-radius:24px;padding:30px 32px 28px;
    box-shadow:0 28px 70px rgba(4,16,40,.45),0 0 0 1px rgba(255,255,255,.35) inset;
    -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
}
.lgn-head{text-align:center;margin:0 0 20px 0;}
.lgn-logo{width:84px;height:84px;margin:-62px auto 10px;border-radius:22px;background-color:#fff;background-size:76% auto;background-position:center;background-repeat:no-repeat;box-shadow:0 12px 30px rgba(4,16,40,.35);}
.lgn-head h4{margin:0;font-size:1.5rem;font-weight:700;color:#14336b;}
.lgn-head p{margin:4px 0 0 0;font-size:.9rem;color:#6c7a91;}
.lgn-f{margin:0 0 14px 0;}
.lgn-f label{display:block;font-size:.72rem;font-weight:700;letter-spacing:.03em;color:#4a5b78;margin:0 0 5px 0;text-transform:uppercase;}
.lgn-in{position:relative;display:block;}
.lgn-in > i:first-child{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);color:#8a97ab;font-size:.95rem;pointer-events:none;transition:color .15s;}
.lgn-in .form-control{height:48px;padding-inline-start:42px;padding-inline-end:44px;border:1.5px solid #d5dde8;border-radius:13px;background:#f8fafc;font-size:.95rem;transition:border-color .15s,box-shadow .15s,background .15s;}
.lgn-in .form-control:focus{background:#fff;border-color:#3f6ad8;box-shadow:0 0 0 4px rgba(63,106,216,.16);outline:0;}
.lgn-in:focus-within > i:first-child{color:#3f6ad8;}
.lgn-in .form-control.validation{border-color:#d92550;box-shadow:0 0 0 4px rgba(217,37,80,.12);}
.lgn-eye{position:absolute;inset-inline-end:6px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#8a97ab;width:36px;height:36px;border-radius:10px;cursor:pointer;}
.lgn-eye:hover{color:#3f6ad8;background:#eef2fb;}
.lgn-btn{
    display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:50px;margin-top:6px;
    border:0;border-radius:14px;color:#fff !important;font-weight:700;font-size:1rem;letter-spacing:.01em;
    background:linear-gradient(135deg,#2b66e0,#19a8c3);box-shadow:0 12px 26px rgba(43,102,224,.38);
    transition:transform .15s,box-shadow .15s,filter .15s;
}
.lgn-btn:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(43,102,224,.45);filter:brightness(1.05);}
.lgn-btn:active{transform:translateY(0);}
.lgn-btn .lgn-arr{transition:transform .15s;}.lgn-btn:hover .lgn-arr{transform:translateX(4px);}
html[dir="rtl"] .lgn-btn .lgn-arr,body[dir="rtl"] .lgn-btn .lgn-arr{transform:scaleX(-1);}
@media (max-width:991px){
    .no-gutters > .col-lg-4{backdrop-filter:none;-webkit-backdrop-filter:none;}
    .lgn-card{padding:26px 20px 22px;border-radius:20px;}
    .lgn-logo{margin-top:-52px;}
}

/* Contact / About: the content sits on a white glass card (dark text on a light card instead of grey text on the picture) */
.pg-card{
    width:100%;max-width:640px;margin:0 auto;text-align:start;color:#2b3a55;
    background:rgba(255,255,255,.94);border-radius:24px;padding:26px 30px 24px;
    box-shadow:0 28px 70px rgba(4,16,40,.35),0 0 0 1px rgba(255,255,255,.35) inset;
    -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
}
.pg-card h1,.pg-card h2,.pg-card h3,.pg-card h4,.pg-card h5,.pg-card h6{color:#14336b;font-weight:700;}
.pg-card .divider{border-top-color:#e3e8f0;}
.pg-card .form-control{border:1.5px solid #d5dde8;border-radius:11px;}
.pg-card .form-control:focus{border-color:#3f6ad8;box-shadow:0 0 0 4px rgba(63,106,216,.16);}
@media (max-width:991px){.pg-card{padding:22px 18px;border-radius:20px;}}

/* phones / tablets: the sign-in card comes FIRST (it was below a full-screen info panel) and the info panel follows with its natural height */
@media (max-width:991px){
    .no-gutters.row{display:flex;flex-direction:column;flex-wrap:nowrap;min-height:100vh;}
    .no-gutters > #pos{order:-1;flex:1 0 auto;max-width:100%;width:100%;min-height:auto !important;height:auto !important;padding:70px 0 26px !important;}
    .no-gutters > #pos .app-login-box{height:auto !important;}
    .no-gutters > #pos .app-login-box > div{position:static !important;margin:0 !important;height:auto;}
    .no-gutters > .col-lg-4{order:2;flex:0 0 auto;max-width:100%;width:100%;height:auto !important;min-height:0 !important;}
    .no-gutters > .col-lg-4 .slider-content{margin:26px 22px !important;}
    .no-gutters > .col-lg-4 .position-relative.h-100{height:auto !important;}
    .no-gutters > .col-lg-4 .ftr{position:static !important;margin:0 0 18px 0;text-align:center;}
}

/* the logo is shown at full strength and sharp (it was 70% transparent and a small blurry bitmap) */
.ins-logo{opacity:1 !important;height:96px !important;background-size:contain !important;filter:drop-shadow(0 6px 14px rgba(0,0,0,.25));}
.lgn-logo{background-size:72% auto;}


/* logo: bigger, on a white tile so its blue / yellow stand out (blue-on-blue was hard to see) */
.ins-logo{width:132px !important;height:132px !important;margin:0 auto;border-radius:30px;background-color:#fff !important;background-size:68% auto !important;background-position:center !important;box-shadow:0 14px 34px rgba(4,16,40,.35);filter:none !important;}
.lgn-logo{width:112px !important;height:112px !important;margin:-76px auto 12px !important;border-radius:28px !important;background-size:70% auto !important;box-shadow:0 14px 34px rgba(4,16,40,.38) !important;}
@media (max-width:991px){
    .ins-logo{width:104px !important;height:104px !important;}
    /* on mobile the card sits near #pos's top edge (no large centering gap like desktop), so a deep
       negative pull-up clips against #pos's own scroll boundary - keep it shallow enough to stay clear */
    .lgn-logo{width:96px !important;height:96px !important;margin-top:-40px !important;}
}
/* Keep platform copy proportional to the narrow sign-in side panel in both languages. */
.slider-light .slick-slider .slider-content h3{font-size:clamp(1.15rem,1.55vw,1.5rem)!important;font-weight:600!important;line-height:1.45;margin-bottom:20px;}
.slider-light .slick-slider .slider-content h3 + p{font-size:clamp(.85rem,1vw,1rem)!important;line-height:1.7;}

/* Inset information card, shared by platform and company sign-in pages. */
@media(min-width:992px){
 .no-gutters > .login-info-panel{margin:12px;border-radius:20px;border:1px solid rgba(255,255,255,.22);overflow:hidden;flex:0 0 calc(33.333333% - 24px);max-width:calc(33.333333% - 24px);height:calc(100dvh - 24px);}
 .login-info-panel > .slider-light,.login-info-panel > .slider-light > .slick-slider{height:100%;}
 .login-info-panel .slider-content{margin:60px 24px!important;}
}
