@import url('https://fonts.googleapis.com/css2?family=Tiro+Bangla:ital@0;1&display=swap');

.tiro-bangla-regular {
    font-family: "Tiro Bangla", serif;
    font-weight: 400 !important;
    font-style: normal;
    font-size: 17px !important;
}
div.order-container {
    min-height: calc(83svh - (60px + 20px));
    padding-bottom: 60px;
}
div.order-container div.child {
    display: flex;
    margin-top: 80px;
    gap: 30px;
}
div.order-container div.child div.tab.start {
    flex: 1;
    height: auto;
    a.brand-logo {
        display: inline-flex;
        margin-bottom: 50px;
    }
    a.brand-logo svg {
        height: 27px;
        width: auto;
        display: flex;
    }
}
div.order-container div.child div.tab.end {
    width: 540px;
    height: auto;
    background-color: #fff;
}

div.features {
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-top: -8px;
    margin-right: -8px;
}
div.feature {
    width: calc(50% - (16px + 28px));
    height: auto;
    background-color: #f8f9f0;
    margin: 8px;
    padding: 14px;
}
div.feature:nth-child(1) {
    border-radius: 14px 0 0 0;
}
div.feature:nth-child(2) {
    border-radius: 0 14px 0 0;
}
div.feature:nth-child(3) {
    border-radius: 0 0 0 14px;
}
div.feature:nth-child(4) {
    border-radius: 0 0 14px 0;
}

div.feature:nth-child(6) {
    border-radius: 0 0 14px 0;
}
div.feature img {
    width: 35px;
    height: auto;
    margin-right: 14px;
}
div.feature div.header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    p.title {
        font-weight: 600;
        font-size: 17px;
    }
}
div.feature p.info {
    font-size: 15px;
    line-height: 1.5;
    margin-left: 0px;
}
div.tutorial-videos {
    display: block;   
    margin-top: 20px;
    h2 {
        font-size: 22px;
        color: #212121;
    }
}
div.tutorial-videos div.videos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
    margin-top: 7px;
}
div.tutorial-videos div.videos a {
    width: calc(50% - 16px);
    margin: 8px;
    background-color: #f7f7f7;
    border-radius: 14px;
    img {
        width: 100%;
        height: auto;
        display: flex;
        border-radius: 14px;
        image-rendering: smooth;
    }
}
div.form {
    background-color: #fff;
    /* min-height: calc(100% - 40px); */
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
    border-radius: 24px;
    padding: 20px;
}
div.form div.subform[data-visibility="hidden"] {
    display: none !important;
}
div.form div.subform[data-id="0"] div.toggle-buttons button.prev {
    display: none;
}
div.form h1,
div.other-cards h2.title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 0;
    color: #000;
}
div.form h2,
div.other-cards h2 {
    font-size: 17px;
    font-weight: 400;
    margin-top: 5px;
    color: #353535;
}

div.form div.subform {
    margin-top: 20px;
    display: grid;
}

div.open-member-container {
    height: auto;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}
div.open-member-container[data-visibility="hidden"] {
    display: none;
}
div.open-member-container button {
    display: flex;
    align-items: center;
    height: 40px;
    font-size: 15px;
    padding: 0 14px;
    border: 0;
    border-radius: 50px;
    outline: none;
    background-color: #353535;
    color: #fff;
    cursor: pointer;
    span {
        margin-left: 10px;
    }
}
div.open-member-container button:hover {
    background-color: #8611c0;
}
div.open-member-container svg {
    height: 18px;
    width: 18px;
    display: flex;
    fill: #fff;
}

div.card-confirmation {
    padding: 14px;
    background-color: hsla(280, 84%, 41%, 0.1);
    font-size: 16px;
    border-radius: 10px;
}
div.card-confirmation[data-visibility="hidden"] {
    display: none;
}
div.card-confirmation div.buttons {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
div.card-confirmation div.text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0;
    p {
        flex: 1;
        margin-left: 10px;
    }
    img {
        width: 30px;
        height: 30px;
        display: flex;
    }
    button {
        border: 0;
        outline: none;
        padding: 0;
        border-radius: 3px;
        background-color: transparent !important;
    }
    button:hover {
        opacity: 0.7;
        cursor: pointer;
    }
}
div.card-confirmation div.buttons button {
    padding: 8px 16px;
    font-size: 15px;
    border-radius: 50px;
    border: 0;
    outline: none;
    cursor: pointer;
}
div.card-confirmation div.buttons button:hover {
    opacity: 0.7;
}
div.card-confirmation div.buttons button:nth-child(1) {
    background-color: #fff;
    color: #000;
}
div.card-confirmation div.buttons button:nth-child(2) {
    background-color: #8611c0;
    color: #fff;
    font-weight: 600;
}
div.other-cards {
    margin-top: 20px;
    background-color: #fff;
    /* min-height: calc(100% - 40px); */
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
    border-radius: 24px;
    padding: 20px;
}
div.other-cards[data-visibility="hidden"] {
    display: none;
}
div.other-cards h2.title {
    font-size: 22px;
}
div.other-cards div.cards {
    margin-top: 16px;
}
div.other-cards div.card {
    display: flex;
    align-items: center;
    padding: 0 10px;
    background-color:hsla(280, 84%, 41%, 0.05);
    border-radius: 10px;
    margin-top: 14px;
    min-height: 52px;
}
div.other-cards div.card p.info {
    flex: 1;
    span:nth-child(1) {
        font-weight: 500;
    }
    span:nth-child(3) {
        font-weight: 600;
    }
}
div.other-cards div.card p.primary {
    font-size: 14px;
    font-weight: 500;
    background-color: hsla(280, 84%, 41%, 0.3);
    padding: 5px;
    border-radius: 7px;
    color: #8611c0;
    
    &&::after {
        content: 'Primary';
    }
}
div.other-cards div.card div.buttons {
    display: flex;
    align-items: center;
    button {
        border: 0;
        outline: none;
        font-size: 15px;
        margin-left: 14px;
        height: 36px;
        background-color: transparent;
        cursor: pointer;
    }
    button:hover {
        opacity: 0.7;
    }
    svg {
        height: 20px;
        width: 20px;
        display: flex;
        overflow: visible;
    }
    button.remove-card svg{
        height: 22px;
        width: 22px;
        fill: #ff0000;
    }
    button.edit-card svg {
        fill: #8611c0;
    }
}
div.notification {
    padding: 20px;
    background-color: hsla(39, 100%, 50%, 0.2);
    margin-bottom: 20px;
    border-radius: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
div.notification[data-visibility="hidden"] {
    display: none;
}
div.notification div.texts {
    flex: 1;
    p.title {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 14px;
    }
}

div.notification button.close {
    aspect-ratio: 1/1;
    padding: 10px;
    border: 0;
    outline: none;
    border-radius: 50px;
    background-color: #fff;
    cursor: pointer;
    svg {
        height: 16px;
        width: 16px;
        display: flex;        
    }
}
div.notification button.close:hover {
    background-color: hsla(39, 100%, 50%, 1);
    && svg {
        fill: #fff;
    }
}
div.input-container.mobile-number p.cc {
    position: absolute;
    background-color: hsla(280, 84%, 41%, 0.05);
    padding: 8px;
    top: 5px;
    left: 5px;
    border-radius: 7px;
}
button#remove-alter-number {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 36px;
    width: 36px;
    border: 0;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background-color: #f4f4f4;
    cursor: pointer;
}
button#remove-alter-number:hover {
    background-color: hsla(280, 84%, 41%, 0.05);
}
button#remove-alter-number svg {
    height: 14px;
    width: 14px;
    display: flex;
}
div.input-container.mobile-number input {
    padding-left: calc(41px + 12px);
}

button#add-alter-number {
    border: 0;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    color: #8611c0;
    background-color: hsla(280, 84%, 41%, 0.05);
    cursor: pointer;
    svg {
        height: 16px;
        width: 16px;
        display: inline-flex;
        fill: #8611c0;
    }
    span {
        margin-left: 10px;
        display: flex;
    }
}
button#add-alter-number:hover {
    background-color: hsla(280, 84%, 41%, 0.3);
}

div.order-summary p.title {
    font-size: 18px;
    font-weight: 500;
    color: #454545;
}
div.order-summary div.address {
    border-top: 1px dashed #d3d3d3;
    border-bottom: 1px dashed #d3d3d3;
    padding: 10px 0 14px 0;    
    button.edit-address {
        padding: 6px 18px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 7px;
        border: 1px solid #8611c0;
        color: #8611c0;
        background-color: #fff;
        cursor: pointer;
    }
    button.edit-address[disabled="disabled"] {
        opacity: 0.5;
        cursor: not-allowed;
    }
    button.edit-address:hover:not([disabled="disabled"]) {
        background-color: #8611c0;
        color: #fff;
    }
    div.text {
        margin-top: 10px;
        /* span.name {
            display: block;
            margin-bottom: 5px;
            font-size: 15px;
            font-weight: 600;
        } */
    }
    div.text p.name {
        display: flex;
        align-items: center;
        font-size: 15px;
        font-weight: 500;
        margin-bottom: 5px;
        span.type {
            font-size: 12px;
            background-color: #e8e8e8;
            color: #353535;
            display: inline-block;
            margin-left: 10px;
            padding: 3px 6px;
            border-radius: 3px;
        }
        span.cn {
            font-size: 15px;
        }
    }
    div.text p.add-info {
        margin-top: 10px;
        font-size: 15px;
    }
    div.text p.cn {
        margin-top: 10px;
        font-size: 15px;
        span {
            font-weight: 500;
        }
    }

}

div.order-summary div.cards {
    border-bottom: 1px dashed #d3d3d3;
    margin-top: 14px;
    padding-bottom: 14px;
    button.edit-cards {
        padding: 6px 18px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 7px;
        border: 1px solid #8611c0;
        color: #8611c0;
        background-color: #fff;
        cursor: pointer;
    }
    button.edit-cards[disabled="disabled"] {
        opacity: 0.5;
        cursor: not-allowed;
    }
    button.edit-cards:hover:not([disabled="disabled"]) {
        background-color: #8611c0;
        color: #fff;
    }
}

div.order-summary div.cards div.card {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px dashed #e8e8e8;
    border-radius: 7px;
    margin-top: 10px;
}
div.order-summary div.cards div.card p.info {
    flex: 1;
    font-size: 15px;
    span:nth-child(1) {
        font-weight: 500;
    }
    span:nth-child(3) {
        font-weight: 600;
    }
}

div.order-summary div.dealer-sign-paper {
    padding: 14px 0;
    border-bottom: 1px dashed #d3d3d3;
    display: flex;
    align-items: center;
    img {
        width: 130px;
        height: auto;
        border-radius: 3px;
        display: flex;
        margin-right: 14px;
    }
    p.info {
        margin-top: 5px;
        line-height: 1.4;
        font-size: 15px;
    }
    p.price {
        display: inline-flex;
        font-size: 14px;
        background-color: #e8e8e8;
        padding: 3px 6px;
        border-radius: 3px;
        margin-top: 7px;
        span {
            font-weight: 600;
            display: block;
            margin-left: 5px;
        }
    }
}
div.order-summary div.pricing {
    padding: 14px 0;
    p.cal:nth-child(2) {
        margin-top: 10px;
    }
    p.cal {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 15px;
        padding: 5px 0;
    }
    p.delivery-charges span:nth-child(2) {
        color: green;
    }
    p.total {
        border-top: 1px dashed #e8e8e8;
        margin-top: 7px;
        padding-top: 7px;
        font-size: 16px;
        span:nth-child(2) {
            font-weight: 600;
        }
    }
}

div.order-summary button.make-payment {
    padding: 12px 0;
    font-size: 15px;
    border: 0;
    margin-top: 10px;
    border-radius: 50px;
    outline: none;
    font-weight: 600;
    background-color: #8611c0;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
}
div.order-summary button.make-payment.processing {
    opacity: 0.7;
    cursor: progress;
}
div.order-summary button.make-payment:hover:not(.processing) {
    opacity: 0.7;
}

div.additional-card-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgb(255 255 255 / 30%);*/
    /*backdrop-filter: blur(5px);*/
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
}
div.additional-card-form[data-visibility="hidden"] {
    display: none;
}
div.additional-card-form div.child {
    position: relative;
    width: 500px;
    background-color: #fff;
    border-radius: 24px;
    padding: 25px;
    p.title {
        font-size: 28px;
        font-weight: 600;
    }
    p.subtitle {
        font-size: 17px;
        margin-top: 5px;
        margin-bottom: 20px;
        color: #353535;
    }
    button.prev {
        display: none !important;
    }
}
div.additional-card-form div.child button.close,
div.pricing-container div.child button.close {
    position: absolute;
    top: -55px;
    right: 0;
    height: 45px;
    width: 45px;
    background-color: #fff;
    border: 0;
    outline: none;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    svg {
        height: 18px;
        width: 18px;
        display: flex;
    }
}
div.additional-card-form div.child button.close:hover svg,
div.pricing-container div.child button.close:hover svg{
    fill: rgba(95, 23, 197, 1);
}

div.pricing-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    div.child {
        position: relative;
        width: 600px;
        padding: 25px;
        background-color: #fff;
        height: auto;
        border-radius: 24px;
    }
    div.tabs {
        display: flex;
        flex-direction: row;
        height: auto;
        margin: 25px 0;
        /*gap: 10px;*/
    }
    div.tabs div.tab {
        flex: 1;
    }
    p[data-type="amount"] {
        font-size: 32px;
        font-weight: 600;
        span {
            font-size: 17px;
            font-weight: 400;
            color: #353535;
        }
    }
    p[data-type="subtitle"] {
        background-color: rgba(96, 24, 196, 0.1);
        border-radius: 4px;
        display: inline-flex;
        font-size: 15px;
        padding: 3px 6px;
        margin-top: 10px;
        /*margin-bottom: 7px;*/

    }
}
div.pricing-container[data-visibility="hidden"] {
    display: none;
}
div.pricing-container p.title {
    font-size: 28px;
    font-weight: 600;
}
div.pricing-container p.subtitle {
    font-size: 17px;
    margin-top: 5px;
    color: #353535;
}
div.pricing-container div.info {
    height: auto;
    background-color: #f7f7f7;
    padding: 14px;
    border-radius: 7px;
    margin-top: 14px;
}
div.pricing-container div.info p.title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 7px;
    font-style: italic;
}
div.pricing-container div.info p.info {
    font-size: 15px;
    color: #000;
}

@media only screen and (max-width: 1200px) {
    div.order-container {
        margin-left: 30px;
        margin-right: 30px;
        padding-bottom: 30px;
    }
    h1 {
        font-size: 32px;
        span {
            font-size: 37px;
        }
    }
    div.parent div.tab.start h2 {
        font-size: 18px;
    }

}
@media only screen and (max-width: 1140px) {
    div.order-container div.child {
        gap: 15px;
    }
    /* div.features {
        margin-left: -5px;
        margin-top: -5px;
        margin-right: -5px;
    }
    div.feature {
        width: calc(50% - (10px + 20px));
        margin: 5px;
        padding: 10px;
    }
    div.feature p.info {
        margin-left: 10px;
    }
    div.feature img {
        width: 30px;
    } */

    div.order-container div.child div.tab.end {
        width: 480px;
    }
}
@media only screen and (max-width: 1040px) { 
    div.feature {
        width: calc(100% - (16px + 28px));
        border-radius: 14px !important;
    }
    div.order-container div.child div.tab.end {
        width: 540px;
    }
    div.tutorial-videos div.videos a {
        width: calc(calc(100% - 16px));
    }
}

@media only screen and (max-width: calc(650px + 60px)) {
    div.pricing-container div.child {
        width: calc(100% - (60px + 50px));
    }
}
@media only screen and (max-width: calc(600px + 60px)) {
    div.upi-intent div.child {
        width: calc(100% - (60px + 50px));
    }

}
@media only screen and (max-width: 580px) {}

@media only screen and (max-width: 840px) {     
    div.order-container div.child {
        display: grid;
    }  
    div.order-container div.tab:nth-child(1) {
        order: 2;
    }
    div.order-container div.tab:nth-child(2) {
        order: 1;
        width: auto !important;
    }
    div.features {
        margin-top: 15px;
    }
    div.feature {
        width: calc(50% - (16px + 28px));
        border-radius: 14px !important;
    }
    div.tutorial-videos div.videos a {
        width: calc(calc(50% - 16px));
    }
}
.logo-img {
    height: 50px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Responsive logo */
@media (min-width: 768px) {
    .logo-img {
        height: 55px;
    }
}

@media (min-width: 1024px) {
    .logo-img {
        height: 55px;
    }
}
