#customization-modal {
    padding-left: 0 !important;
    z-index: 9999 !important;
    font-family: 'Roboto', sans-serif !important;
}

.application-type-warning {
    background: #e9f2fd;
    border: 1px solid #ADD2F9;
    border-radius: 5px;
    color: #315a7e;
    padding: 5px;
    margin-bottom: 25px;
}

.modal-header {
    padding: 15px !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

.customization-modal__content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: auto;
}

.customization-modal__dialog {
    width: 100%;
    margin: 0 auto;
    /* max-width: 90%; */
}

.customization-modal__header {
    background-color: #f7f7f7 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    min-height: 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: fixed;
    top: 0;
    z-index: 2000;
}

.customization-modal__title {
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    margin: 0 !important;
}

.close {
    flex: 0 0 auto;
    margin-left: 10px !important;
    line-height: 1 !important;
}

.customization-modal__back-btn {
    display: none;
}

.customization-modal__title,
#customization-modal__back-link {
    font-size: 1.6rem;
    font-weight: 600;
    color: #000 !important;
}

.customization-identifiers__application-type-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.customization-identifiers__required-asterisk {
    color: red;
}

.customization-identifiers__column--with-divider {
    border-right: 1px solid #e0e0e0;
}

.customization-identifiers__checkbox {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.customization-details__header {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    /* align-items: center; */
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.customization-details__title {
    font-size: 2.3rem;
    font-weight: 700;
}

.customization-details__price {
    font-size: large;
}

.customization-details__actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.modal-primary-btn {
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 500;
    background-color: #1a1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.modal-primary-btn:hover {
    background-color: #333;
}

.modal-secondary-btn {
    padding: 12px 30px;
    /* font-size: 18px; */
    font-weight: 500;
    background-color: white;
    color: #333;
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-secondary-btn:hover {
    background-color: #f0f0f0;
}

/* Remove Bootstrap button styles */
.modal-secondary-btn:focus,
.modal-primary-btn:focus {
    outline: none;
    box-shadow: none;
}

.customization-identifiers__reset {
    display: block;
    text-align: center;
    margin: 20px;
}

.customization-identifiers__reset-link {
    color: #000;
    text-decoration: underline;
    font-weight: 700;
    font-size: 1.5rem;
}

.customization-identifiers__reset-link:hover {
    color: #000;
}

.customization-details__btn-reset {
    flex: 0 0 auto;
}

.customization-details__btn--confirm {
    flex: 1;
}

.customization-option-input-label,
.customization-details__label {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.customization-details__description {
    color: #616161;
    font-weight: 300;
}

.customization-details__input {
    width: 100% !important;
    padding: 9px 18px !important;
    gap: 10px;
    /* font-size: 18px; */
    height: 40px;
    border: 1px solid #8a8a8a;
    border-radius: 8px;
     background-color: #fff !important;
    transition: all 0.3s ease;
}

.customization-details__input:focus {
    outline: none;
    border-color: #888;
    background-color: white;
}

.customization-identifiers__image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.customization-footer__wrapper {
    box-shadow: 0px -1px 7px 1px rgba(231, 231, 231, 0.75);
    -webkit-box-shadow: 0px -1px 7px 1px rgba(231, 231, 231, 0.75);
    -moz-box-shadow: 0px -1px 7px 1px rgba(231, 231, 231, 0.75);
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #ffffff;
}

.customization-footer {
    display: flex;
}

.customization-footer__section--left {
    flex: 0 0 auto;
}

.customization-footer__section--right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /*gap: 30px;*/
}

.customization-footer__price-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.customization-footer__label,
.customization-footer__amount,
.customization-fee-label,
.customization-fee-total {
    font-size: 1.5rem;
    font-weight: 500;
}

.customization-fee-total,
.customization-footer__amount {
    font-weight: 700;
}

@media (max-width: 991px) {
    #customization-modal {
        padding: 0 !important;
    }

    .customization-identifiers__block {
        width: 100%;
        max-width: 100% !important;
    }

    .customization-identifiers__column {
        margin-top: 20px;
        border-radius: 20px;
        padding: 25px;
        box-shadow: 0px -6px 10px 1px rgba(0, 0, 0, 0.1);
        margin-bottom: 150px;
        /* #999 instead of rbga */
    }

    .customization-identifiers__item-content {
        flex-grow: 1;
    }

    .customization-identifiers__item {
        max-width: 100% !important;
        width: 100% !important;
        height: 70px;
        border: 1px solid #e0e0e0;
        justify-content: space-between;
    }

    .customization-identifiers__column--with-divider {
        border-right: none;
    }

    .customization-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .customization-footer__section--right {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        margin-top: 15px;
    }

    .customization-footer__price-breakdown {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .customization-footer__section--left {
        order: 3;
        margin-top: 15px;
        text-align: center;
    }

    .customization-footer__btn-toggle-summary {
        width: 100%;
    }

    .customization-footer__section--right>button {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .modal-body {
        min-height: 100vh;
    }
    .customization-details {
        display: none;
        margin-top: 25px;
    }

    .customization-details__actions {
        flex-direction: column-reverse;
        align-items: center;
    }

    .modal-primary-btn {
        width: -webkit-fill-available;
        margin-bottom: 10px;
    }

    .modal-secondary-btn {
        padding: none;
        border: none;
        background: none;
        font-weight: 700;
        text-decoration: underline;
    }

    .modal-secondary-btn:hover {
        background: none;
    }

    /*.customization-details__header {*/
    /*    display: none;*/
    /*}*/

    .customization-modal__title {
        flex: 1 1 auto;
        white-space: nowrap;
        overflow: hidden;
    }

    .close {
        flex: 0 0 auto;
        margin-left: 10px !important;
    }


    .customization-modal__header.show-back .customization-modal__back-btn {
        display: block;
        flex: 0 0 auto;
        margin-right: 10px;
    }

    .customization-modal__header.show-back .customization-modal__title {
        flex: 1 1 auto;
        text-align: center;
    }

    .customization-details__description {
        display: block;
    }

}

@media (min-width: 768px) {
    .customization-modal__header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    .customization-footer__price-breakdown {
        margin-right: 0px;
        padding-right: 30px;
        border-right: 1px solid #e0e0e0;
    }

    .customization-identifiers__column--with-divider {
        height: 100vh;
        overflow-y: scroll;
    }

    .modal-body {
        flex: 1 1 auto;
        width: 100%;
        overflow-y: auto;
        padding-bottom: 70px;
    }

}