/* Roboto Thin (100) */
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/static/Roboto-Light.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

/* Roboto Regular (400) */
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/static/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Roboto Medium (500) */
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/static/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* Roboto Bold (700) */
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/static/Roboto-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

:root {
    --primary-color: #ec7f0c;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #f6f6f6;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    height: 100vh;
    margin: auto;
    display: flex;
}

img {
    max-width: 100%;
}

.app {
    background-color: #fff;
    width: 330px;
    height: 570px;
    margin: 0rem auto;
    border-radius: 5px;
    padding: 1em;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 31px -2px rgba(0, 0, 0, .3);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

p {
    font-size: 13px;
    color: #333;
    line-height: 2;
}

.light {
    text-align: right;
    color: #fff;
}

.light a {
    color: #fff;
}

.bg {
    width: 400px;
    height: 550px;
    background: var(--primary-color);
    position: absolute;
    top: -5em;
    left: 0;
    right: 0;
    margin: auto;
    background-image: url("background.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    clip-path: ellipse(69% 46% at 48% 46%);
}

form {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 2em;
}

header {
    width: 220px;
    height: 220px;
    margin: 1em auto;
}

form input {
    width: 100%;
    padding: 13px 15px;
    margin: 0.7em auto;
    border-radius: 100px;
    border: none;
    background: rgb(255, 255, 255, 0.3);
    font-family: 'Poppins', sans-serif;
    outline: none;
    color: #fff;
}

input::placeholder {
    color: #fff;
    font-size: 13px;
}

.inputs {
    margin-top: -4em;
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2em;
    text-align: center;
}

button {
    width: 100%;
    padding: 13px 15px;
    border-radius: 100px;
    border: none;
    background: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    outline: none;
    color: #fff;
}

.login-logo {
    border-radius: 13%;
    width: 11rem;
    height: 6rem;
}

/*Pos theming*/

.pos-header {
    width: 100%;
    background-color: #231770;
    border-radius: 0rem 0rem 2rem 2rem;
    text-align: center;
    color: white;
    padding: 1rem;
}

.pos-header img {
    border-radius: 1rem;
    margin-bottom: 1rem;
}


.scroll-container {
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 8px;
}

.card {
    border-radius: 16px;
    border: 1px solid #0000000f !important;
    /* https://smoothshadows.com/#djEsMSw1LDAuMDEsNTcsLTMsLTEwLCMwMzA3MTIsI2YzZjRmNiwjZmZmZmZmLDI%3D */
    box-shadow: -0px -0px 2px rgba(3, 7, 18, 0.00),
        -2px -0px 9px rgba(3, 7, 18, 0.00),
        -4px -1px 21px rgba(3, 7, 18, 0.01),
        -6px -2px 36px rgba(3, 7, 18, 0.01),
        -10px -3px 57px rgba(3, 7, 18, 0.01);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(29, 29, 29, 0.15);
}

.loader,
#loader2 {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ec7f0c;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 100px auto;
}

.bundles-container #searchInput {
    /* border: 2px solid #231770!important;*/
    padding-left: 1rem 16px !important;
}

.bundles-container .text-primary {
    color: #231770 !important;
}

.bundles-container .btn-outline-primary {
    color: #231770;
    border-color: #231770;
}

.bundles-container .btn-outline-primary:hover {
    background-color: #ec7f0c;
    border-color: #ec7f0c;
}

.voucher-code-container {
    background-image: url("../img/coupon.png");
    background-size: cover;
}

#validationModal .close {
    flex: 0;
    height: 1rem;
}

#validationModal .modal-title {
    flex: 1;
}

#validationModal .btn.btn-primary {
    background-color: #ec7f0c;
    border-color: #ec7f0c;
}

.voucher-code-container {
    width: 100%;
    height: 17rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../img/coupon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    font-size: 1.2rem;
    flex-direction: column;
}


#floating-history {
    background: #231770;
    border: 1px solid #231770;
}

.close {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 640px) {
    .app {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .bg {
        top: -7em;
        width: 450px;
        height: 95vh;
    }

    header {
        width: 90%;
        height: 250px;
    }

    .inputs {
        margin: 0;
    }

    input,
    button {
        padding: 18px 15px;
    }
}

.login-page-title {
    font-weight: 800;
}