/* Global */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@600;700&display=swap');

@font-face {
    font-family: DigitalNumbers;
    src: url(./assets/fonts/DigitalNumbers-Regular.ttf);
}

html, body {
    font-size: 16px;
}

@media only screen and (max-width: 1920px) {
    html, body {
        font-size: 13px;
    }
}

:root {
    --primary: #002E53;
    --secondary: #CCD7E4;
    --info: #F5F8FA;
    --tealGreen: #00CACA;
    --borderColor: rgba(245, 245, 245, 0.2);
}

.bodyContainer {
    display: flex;
    overflow: hidden;
}

/* Slider */
.sliderArea {
    width: 42vw;
    height: 100vh;
}

.sliderImg {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.imgCaption {
    right: 0!important;
    left: 0!important;
    bottom: 0%!important;
    padding-top: 0!important;
    padding-bottom: 0!important;
    top: 50%!important;
    transform: translateY(-50%);
    display: flex!important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carouselTitle {
    font-size: 3rem;
    margin-bottom: 0;
}

.carouselPara {
    font-size: 1.5625rem;
    font-weight: 400;
}

.carousel-item.carousel-img::before {
    content: "";
    position: absolute;
    left: 0; 
    right: 0;
    top: 0; 
    bottom: 0;
    background: linear-gradient(80.18deg, rgba(3, 0, 125, 0.5) 0%, rgba(0, 93, 180, 0.5) 40.85%, rgba(0, 175, 175, 0.5) 100%);
}

/* Screens */
.screensArea {
    width: 58vw;
    height: 100vh;
    background-image: url(./assets/images/background.png);
    background-repeat: no-repeat;
    background-size: 100vw 100vh;
    background-position: bottom;
    position: relative;
    z-index: 0;
}

.screensArea::before {
    content: "";
    position: absolute;
    left: 0; 
    right: 0;
    top: 0; 
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: -1;
}

.flexContainer {
    display: flex;
    flex-direction: column;
    height: 100vh;
    /* justify-content: space-between; */
    position: relative;
}

.tarahumLogo {
    width: 12vw;
    height: 8.8vh;
    object-fit: contain;
}

.emiratesLogo {
    width: 9vw;
    height: 8.8vh;
    object-fit: contain;
}

/* Steps */
.steps-container {
    overflow: hidden;
    /*margin-top: 30px;*/
}

.step {
    display: none;
}

.step-active {
    display: block;
    animation: animate 0.5s; 
}

@keyframes animate {
    from { transform: translateX(-100%); left: 0 }
    to { left: 100%; transform: translateX(0) }
}

.logosContainer {
    /* margin-bottom: 4vh; */
    height: 12vh;
    background: linear-gradient(180deg, #fff 73.75%, rgba(255, 255, 255, 0) 100%);
}

.title {
    font-size: 1.85rem;
    /* font-size: 2rem; */
    /* font-size: 1.75rem; */
    color: #002E53;
    margin-bottom: 0;
}

.inputContainer {
    position: relative;
    margin-top: 1vh;
    /*margin-top: 6vh;*/
    margin-bottom: 1.8vh;
}

.input {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    /* font-size: 1rem; */
    text-align: center;
    color: #CCD7E4;
    background: #F5F8FA;
    border: 1px dashed rgba(50, 61, 112, 0.3);
    border-radius: 6px;
    outline: none;
    width: 16vw;
    aspect-ratio: 16 / 4;
}

::placeholder {
    color: #CCD7E4;
    font-size: 1rem;
    font-weight: 400;
}

.clearBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: calc(100% - 17vw);
    padding: 8px;
    cursor: pointer;
}

.clearBtn > svg {
    width: 25px;
    height: 25px;
}

.keyboard {
    width: 16vw;
    /* height: 33vh; */
    aspect-ratio: 16 / 18;
    display: flex;
    margin: auto;
    flex-wrap: wrap;
    justify-content: end;
    /*margin-bottom: 5.8vh;*/
}

.key, .backword-key {
    width: 5vw;
    /* height: 7.4vh; */
    aspect-ratio: 5 / 4;
    color: #002E53;
    background: #F5F8FA;
    border: 1px dashed rgba(50, 61, 112, 0.3);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins';
    font-size: 2.2rem;
    color: #002E53;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.key:nth-child(1), .key:nth-child(2), 
.key:nth-child(4), .key:nth-child(5),
.key:nth-child(7), .key:nth-child(8) {
    margin-right: 0.5vw;
    margin-bottom: 0.5vw;
}

.key:nth-child(3), .key:nth-child(6), .key:nth-child(9) {
    margin-bottom: 0.5vw;
}

.key:nth-child(10) {
    margin-right: 0.5vw;
}

.backword-key {
    background: none;
    border: none;
}

.backword-key > svg {
    width: 30px;
}

.key:hover, .backword-key:hover {
    background: #002E53;
    color: #fff;
}

.backword-key:hover path {
    fill: #fff;
}

.button {
    border-radius: 9px;
    width: 13.5vw;
    aspect-ratio: 13.5 / 6;
    border: none;
    outline: none;
}

.homePageBtn {
    border: none;
    width: 18.7vw;
    aspect-ratio: 18.7 / 6.2;
    border-radius: 9px;
    /* margin-top: 5.5vh; */
    margin-top: 1.5vh;
    /* margin-bottom: 3.5vh; */
    margin-bottom: 1vh;
    outline: none;
}

.button.primary, .homePageBtn.primary {
    background: #002E53;
    color: #fff;
}

.button.secondary {
    background: #CCD7E4;
    color: #002E53;
}

.button > span, .homePageBtn > span {
    display: block;
    font-size: 1.5rem;
    /* font-size: 1.1rem; */
}

.button:disabled,
.button[disabled] {
    background: #F5F8FA;
    color: #CCD7E4;
}

.donCard, .serCard {
    background: #F5F8FA;
    border: 1px dashed rgba(50, 61, 112, 0.3);
    border-radius: 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /*margin-top: 10vh;
    margin-bottom: 12vh;*/
    margin-top: 8vh;
    margin-bottom: 10vh;
}

.serCard {
    padding: 8px;
    width: 15vw;
    aspect-ratio: 15 / 13.5;
}

.donCard {
    width: 23.9vw;
    aspect-ratio: 23.9 / 10;
}

.donCard:nth-child(1) {
    margin-right: 2vw;
}

.donIcon {
    margin-bottom: 1vh;
}

.donIcon > svg {
    width: 4vw;
    aspect-ratio: 4 / 4;
}

.btnIconContainer {
    width: 50vw;
    margin: auto;
}

.btnIconContainer svg {
    width: 6vw;
    aspect-ratio: 6 / 6;
}

.donNameAR, .donNameEN {
    font-size: 1.5rem;
    /* font-size: 1.2rem; */
    color: #002E53;
    text-align: center;
}

.ticketEN {
    font-size: 1.55rem;
    /* font-size: 1.5rem; */
    color: #002E53;
    text-align: center;
}

.ticketAR {
    font-size: 1.55rem;
    /* font-size: 1.5rem; */
    color: #002E53;
    text-align: center;
}

.errorEN {
    font-size: 1.65rem;
    margin-top: 10px;
    color: #FF5065;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.7rem;
}

.errorAR {
    font-size: 1.65rem;
    color: #FF5065;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.7rem;
}

.error {
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-items: center;
    /*margin-top: 9vh;
    margin-bottom: 10vh;*/
    margin-top: 1.5vh;
    margin-bottom: 1.5vh;
}

.error > span {
    margin-bottom: 2.7vh;
}

.error svg {
    /*width: 4vw;
    aspect-ratio: 4 / 4;*/
    width: 3vw;
    aspect-ratio: 3 / 3;
    min-width: 150px;
}

.ticket {
    /* width: 33vw; */
    /* aspect-ratio: 33 / 16.6; */
    width: 30vw;
    aspect-ratio: 30 / 12;
    background: linear-gradient(80.18deg, #03007D 0%, #005DB4 40.85%, #00AFAF 100%);
    opacity: 0.8;
    border: 2px dashed #002E53;
    border-radius: 10px;
    margin: auto;
    color: #F5F8FA;
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-bottom: 6vh; */
    margin-bottom: 2vh;
}

.ticketNo, .mainTicketNo {
    /* font-size: 6rem; */
    font-size: 5rem;
    margin: 0;
}

.ticketTitle {
    width: 31vw;
    color: #002E53;
    font-size: 1.25rem;
    display: flex;
    justify-content: space-between;
    margin: auto;
}

.success {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Footer */
.footer {
    color: rgba(50, 61, 112, 0.3);
    font-size: 0.75rem;
    margin-bottom: 1.29vh;
    margin-top: 3.5vh;
}

.footerEN, .titleEN, .btnEN, .donNameEN, .ticketEN, .ticketTitleEN, .ticketNo, .mainTicketNo, .errorEN, .imgCaption {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.footerAR, .titleAR, .btnAR, .donNameAR, .ticketAR, .ticketTitleAR, .errorAR {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

/* -------------------------------------*/

.ticketFooter, .ticketHeader {
    background: var(--tealGreen);
}

.ticketFooter p.footer {
    color: var(--primary);
    margin: 1rem auto;
    font-size: 0.6vw;
}

.ticketHeader .clock {
    width: 13vw;
    /* height: 5vh; */
    aspect-ratio: 13 / 5;
    background: var(--primary);
    border-radius: 10px;
    margin: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clock > div {
    color: var(--info);
    font-size: 1.8vw;
    font-family: DigitalNumbers;
    /* font-size: 2rem; */
}

.date {
    color: var(--primary);
    display: flex;
    align-items: center;
    /* justify-content: center; */
    direction: rtl;
    height: 100%;
    font-size: 1.5vw;
    font-family: 'Cairo', sans-serif;
}

.calender {
    margin-left: 0.5vw;
    margin-right: 0.5vw;
    display: flex;
    align-items: center;
}

.calender svg {
    width: 1.6vw;
    height: 1.6vw;
}

.calender path {
    fill: var(--primary)
}

.ticketBody {
    background: var(--primary);
    color: var(--info);
    height: 100%;
}

.smallBox {
    height: 25.7vh;
    width: 14.47vw;
    display: flex;
    padding: 0 1vw;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-top: 0.2vw dashed var(--borderColor);
    border-right: 0.2vw dashed var(--borderColor);
}

.smallBox span {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-size: 1.04vw;
}

.smallBox .ticketdetailCont {
    width: 100%;
}

.smallBox .officeNoTitle, .smallBox .ticketNoTitle {
    display: flex;
    flex-direction: column;
    text-align: end;
}

.smallBox .ticketNo, .mainTicketNo, .smallBox .officeNo, .mainOfficeNo {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    /* font-size: 6rem; */
}

.smallBox .ticketNo, .mainTicketNo {
    font-size: 2.2vw;
    color: var(--secondary);
}

.smallBox .officeNo, .mainOfficeNo {
    font-size: 2.2vw;
    color: var(--tealGreen);
}

.mainBox {
    /* height: 20vh;  */
    /* height: 48vh;  */
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* justify-content: end; */
}

.mainBox .titleCont {
    display: flex;
    flex-direction: row-reverse;
    width: 85%;
    justify-content: space-between;
}

.mainBox .numbersCont {
    display: flex;
    width: 100%;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-around;
}

.mainBox .title {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-size: 1.6vw;
    color: var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: end;
}

.mainBox .officeNo, .mainOfficeNo {
    color: var(--tealGreen);
    font-size: 5vw;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    text-align: end;
}

.mainBox .ticketNo, .mainTicketNo {
    font-size: 5vw;
}

.themeBtn > svg {
    /* width: 20px;
    height: 20px; */
    width: 1.6vw;
    height: 1.6vw;
    cursor: pointer;
}

.themeBtn path {
    fill: var(--primary);
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 100%!important;
    }
}

@media (min-width: 992px) and (max-width: 1400px) {
    .smallBox, .mainBox {
        height: 100%;
    }

    .smallBox {
        padding-top: 10px;
    }

    .mainBox .officeNo, .mainOfficeNo {
        font-size: 10vw;
        line-height: 120px;
    }

    .mainBox .title {
        font-size: 1.3vw;
    }

    .smallBox .officeNo, .mainOfficeNo {
        font-size: 4vw;
        line-height: 50px;
    }

    .ticketHeader .clock {
        margin: 0.5rem;
        aspect-ratio: 13 / 4;
    }

    .ticketFooter p.footer {
        margin: 0.5rem auto;
    }
}

.hideSteps, .hideLogin {
    display: none;
}

.showSteps, .showLogin {
    display: block;
}

.logout-btn {
    background: transparent;
    border: none;
    width: 45px!important;
    height: 45px;
    border-radius: 50%;
    position: absolute!important;
    top: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logout-btn > svg {
    width: 25px;
    height: 25px;
}

.logout-btn path {
    fill:#FF5065;
}

.login-error {
    text-align: center;
    position: absolute!important;
    top: 100px;
    z-index: 9;
    width: 400px!important;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
}

.login-error p {
    margin-bottom: 0;
}

.gif-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    text-align: center;
}

.gif-container img {
    width: 400px;
    height: 400px;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    /* background: #ffffff6b; */
    z-index: 9;
}

.login {
    /*margin-top: 30px;*/
}

.boxList {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    /* flex-wrap: wrap; */
    padding: 0!important;
}

.title-ar {
    font-family: 'Cairo', sans-serif!important;
    font-weight: 700!important;
}

#ticketCarousel {
    padding: 0;
    border-top: 0.2vw dashed var(--borderColor);

}

.notification {
    display: none;
}

.startbtn {
    border-radius: 10px;
    border: 0;
    font-weight: 600;
    background: var(--tealGreen);
    color: var(--primary);
    width: 13vw!important;
    aspect-ratio: 13 / 5;
    font-size: 1.8vw;
}



