/*Page override */

.logged-in.woocommerce-account #theme-main .container,
.logged-in .message .container {
    max-width: 100% !important
}

.logged-in.woocommerce-account #theme-main>.container,
.logged-in .message>.container {
    padding: 0;
}

/* Woo Custom */
.woocommerce {
    margin-bottom: 50px;
}

.logged-in.woocommerce-account .woocommerce,
.logged-in .message .woocommerce {
    display: flex;
}

.woocommerce-Price-amount {
    color: var(--bs-success);
}

.woocommerce-info, .woocommerce-message {
	font-size: 16px !important;
	line-height: 1.5em;
	background-color: #f1f0ef !important;
	margin: 1em 0 2em;
	padding: 10px 15px;
}


.woocommerce-error {
    background: #fef3c7;
    border-radius: 3px;
    color: #333;
    margin: 25px 0 2em;
    padding: 10px 15px;
    font-size: 16px;
}

.woocommerce-info a,
.woocommerce-message a,
.woocommerce-error a {
    color: #333 !important;
    padding: 6px;
}

.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li {
    list-style: none outside !important;
    padding-left: 0 !important;
    margin-left: 0 !important
}

.woocommerce form .form-row input.input-text {
    padding: 10px;
    border-radius: 2px;
    line-height: 1.5;
    border: 1px solid #ced4da;
}

.payment-method, .billing, .woocommerce-edit-address form, .woocommerce-edit-account form {
    margin: 30px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    max-width: 750px;
}
.edit, .payment-method .button {
	background: var(--bs-primary);
	color: white;
	border: none;
	padding: 0.6rem 1.5rem;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	float: right;
}
.woocommerce-Address address {
    line-height: 2;
}

ul.woocommerce-error {
    list-style: none
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last {
    width: 47%;
    overflow: visible
}

.woocommerce form .form-row .input-text,
.woocommerce-page form .form-row .input-text {
    box-sizing: border-box;
    width: 100%
}

.woocommerce-checkout .form-row-first {
    float: left
}

.woocommerce-checkout .form-row-last {
    float: right
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
    float: right;
    background: var(--bs-primary);
    border: none;
    color: var(--bs-white);
    padding: 9px 20px;
    border-radius: 4px;
    font-size: 18px;
}

.woocommerce-checkout #payment ul.payment_methods li {
    line-height: 2
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 20px 30px 20px 0;
}

.cart-subtotal {
    border-bottom: 1px solid rgba(0, 0, 0, .1)
}


.woocommerce form .form-row label {
    line-height: 2
}

.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
    display: block;
    margin: 0 0 5px;
    line-height: 2;
    font-size: .9rem;
    color: #000;
    font-weight: 700;
}

.woocommerce form .form-row {
    margin: 25px 0;
}

.woocommerce form .form-row-wide,
.woocommerce-page form .form-row-wide {
    clear: both
}

.woocommerce .form-row-last {
    float: right;
    width: 48%;
}

.woocommerce .form-row-first {
    float: left;
    width: 48%;
    margin-right: 4%;
}

@media screen and (max-width:767px) {

    .woocommerce table.shop_table_responsive tr td,
    .woocommerce-page table.shop_table_responsive tr td {
        display: block;
        text-align: right !important
    }

    .woocommerce table.shop_table_responsive thead,
    .woocommerce-page table.shop_table_responsive thead {
        display: none
    }

    .woocommerce table.shop_table_responsive tbody tr:first-child td:first-child,
    .woocommerce-page table.shop_table_responsive tbody tr:first-child td:first-child {
        border-top: 0
    }

    .woocommerce table.shop_table_responsive tr td::before,
    .woocommerce-page table.shop_table_responsive tr td::before {
        content: attr(data-title) ": ";
        font-weight: 700;
        float: left
    }
}



/* Checkout */
#payment label {
    margin-bottom: 25px;
}

#payment ul {
    padding-left: 0;
    margin: 2rem 0 !important;
}

#payment label img:first-child {
    margin-left: 15px;
}

/* Login */
.contents .form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-control::placeholder {
    opacity: 1;
    font-size: 14px;
    color: #b3b3b3;
}

.contents .form-control {
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0;
    color: var(--bs-dark);
    border-radius: 0;
    border: 1px solid #e5e5e5;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.contents .form-group input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
}

.contents .form-group.last {
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

.woocommerce-lost-password #theme-main>.container {
    margin: 100px auto;
}

*,
*::before,
*::after {
    box-sizing: border-box
}

/* Sidebar navigation style */
.woocommerce-MyAccount-navigation ul {
    list-style-type: none !important
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid RGBA(78, 66, 50, .2) !important;
    display: flex;
    align-items: center;
    padding: 0.875rem 2rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    color: #9ca3af;
}

.woocommerce-MyAccount-navigation ul li a {
    color: #9ca3af;
}

.woocommerce-MyAccount-navigation ul li.is-active {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border-left-color: #10b981;
    font-weight: 500;
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #ef4444 !important;
}

.woocommerce-MyAccount-navigation-link--customer-logout a::before,
.woocommerce-MyAccount-navigation-link--edit-account a::before,
.woocommerce-MyAccount-navigation-link--edit-address a::before,
.woocommerce-MyAccount-navigation-link--payment-methods a::before,
.woocommerce-MyAccount-navigation-link--dashboard a::before,
.woocommerce-MyAccount-navigation-link--service-provider a::before,
.msg-btn::before,
.edit::before {
    content: "";
    display: inline-block;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    width: 20px;
    height: 20px;
    mask-size: auto;
    margin-right: 10px;
    vertical-align: text-top;
    background-color: #9ca3af;
}

.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    background-color: #ef4444;
    -webkit-mask: url("/wp-content/uploads/2025/09/logout.svg") no-repeat center;
    mask: url("/wp-content/uploads/2025/09/logout.svg") no-repeat center;
}

.woocommerce-MyAccount-navigation-link--edit-account a::before {
    -webkit-mask: url("/wp-content/uploads/2025/09/my-account.svg") no-repeat center;
    mask: url("/wp-content/uploads/2025/09/my-account.svg") no-repeat center;

}

.woocommerce-MyAccount-navigation-link--payment-methods a::before {
    -webkit-mask: url("/wp-content/uploads/2025/09/card.svg") no-repeat center;
    mask: url("/wp-content/uploads/2025/09/card.svg") no-repeat center;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before {
    -webkit-mask: url("/wp-content/uploads/2025/09/services.svg") no-repeat center;
    mask: url("/wp-content/uploads/2025/09/services.svg") no-repeat center;
}

.woocommerce-MyAccount-navigation-link--service-provider a::before {
    -webkit-mask: url("/wp-content/uploads/2025/09/support.svg") no-repeat center;
    mask: url("/wp-content/uploads/2025/09/support.svg") no-repeat center;
}

.msg-btn::before {
    background: #fff;
    -webkit-mask: url("/wp-content/uploads/2025/09/send-rocket.svg") no-repeat center;
    mask: url("/wp-content/uploads/2025/09/send-rocket.svg") no-repeat center;
}
.edit::before {
    background: #fff;
    -webkit-mask: url("/wp-content/uploads/2025/09/pen.svg") no-repeat center;
    mask: url("/wp-content/uploads/2025/09/pen.svg") no-repeat center;
}
.woo-sidebar {
    width: 280px;
    background: rgba(42, 52, 65, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid #374151;
    padding: 2rem 0 2rem;
    transition: all 0.3s ease;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.woo-sidebar ul {
    padding: 0;
}

.woo-sidebar ul ul {
    padding-left: 20px;
}

.current-order {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    margin: 0 .5rem 2rem;
    padding: 1rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

ul.current-order li {
    border: none !important;
    padding: 0 0 1rem 0 !important;
    color: var(--bs-primary);
    font-size: 15px;
    line-height: 1.4;
}

.current-order p {
    font-size: 18px;
    font-weight: 600;
    color: #10b981;
    margin: 0 0 10px 0;
}

.meta-label {
    color: #6b7280;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.status-badge {
    background: #fef3c7;
    color: #d97706;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.woocommerce-MyAccount-content {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    flex: 1;
    margin-left: 280px;
    padding: 40px 4rem 2rem;
}

.conversation-container {
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 0 40px;
    background: #fafbfc;
}

.msg_form {
    width: 100%;
    background: #fafbfc;
    padding: 0.5rem 40px 1rem;
    border-top: 2px solid #e5e7eb;
}

.msg_form form {
    max-width: 100%;
}

.input-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    width: 100%;
}

#file-input-label {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #e9efe0;
}

.file-input-container input[type="file"] {
    width: 0;
    height: 0;
}

#file-input-label:hover {
    background-color: rgba(0, 0, 0, .12);
}

#file-input-label span,
#file-input-label svg {
    vertical-align: middle;
}

.wss_final_delivery {
    display: inline-block;
}

#no-msg {
    margin: 120px 50px;
    text-align: center;
    font-size: 18px;
    line-height: 1.7;
}

.message .woocommerce {
    margin-bottom: unset;
}

.message .woocommerce-MyAccount-content {
    height: calc(100vh - 102px);
    padding: 0;
    justify-content: flex-end;
    background: #fafbfc;
}

.page-id-215642 footer {
    display: none;
}

#loading-screen {
    display: inline-block;
    font-size: 18px;
    color: #212537;
}

.modal-body .form-control {
    border: 1px solid #e5e5e5;
    padding: 7px 10px;
    margin: 15px 0;
}

@media screen and (max-width:980px) {
    .woocommerce-account .woocommerce {
        flex-direction: column
    }

    .woo-sidebar {
        flex: 1 100%;
        width: 100%;
        position: relative;
        margin-bottom: 50px;
    }

    .woocommerce-MyAccount-content {
        max-width: 100%;
        margin-left: 0;
        padding: 60px 1rem 2rem;
    }

    #no-msg {
        margin: 40px 30px;
    }

    #woo_conversation_form {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .ql-snow {
        width: 100%;
    }
}

#access-container {
    position: relative;
    padding: 40px;
    background: #fef3c7;
    width: 100%;
    max-width: 1170px;
}

#access-close {
    background: #212537;
    border: none;
    color: #fff;
    border-radius: 30px;
    padding: 10px 12px;
    cursor: pointer;
    top: 10px;
    right: 10px;
    position: absolute;
}

#access-close:hover {
    background: #212537c9;
    color: #fff;
}

ul.woo-service-status-tabs li {
    margin: 0
}

.woo-service-search-box input[type=text] {
    width: 100%;
    background: #fff;
    padding: 10px;
    border: 1px solid #d0c5c5;
    max-width: 700px
}


.wss-header-sec {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}


.page .wss-services-info h4 {
    margin-bottom: 10px
}

.wss-services-info-text ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0
}

.wss-services-info-text ul li {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    padding-right: 10px;
    border-right: 1px #777 solid;
    font-size: 12px;
    color: #777;
    line-height: 1
}

.wss-services-info-text ul li span {
    color: #4caf50
}

.wss-services-info-text ul li:last-child {
    border: none
}

.account-orders-table a {
    color: #10b981;
}

.account-orders-table .btn {
    color: #fff;
}

.wss-services-info-table {
    margin: 0;
    border: 0
}

.wss-services-info-table th,
.wss-services-info-table td {
    padding: 10px;
    vertical-align: top
}

.wss-services-info-table th:first-child,
.wss-services-info-table td:first-child {
    padding: 10px;
    padding-left: 20px;
    width: 40%
}

.wss-services-info-table th:last-child,
.wss-services-info-table td:last-child {
    padding-right: 20px
}

.wss-services-info-table td {
    font-size: 95%
}

#access-container h3 {
    margin: 0 0 5px;
    padding: 0;
    font-size: 24px;
    font-weight: 700
}

#access-container img {
    max-width: 80px;
    max-height: 80px
}


.woo-msg-time {
    text-align: center;
    position: relative;
    margin: 0 0 50px
}

.woo-msg-time .woo-msg-date-wrap {
    display: inline-block;
    background: #fff;
    color: #ababab;
    position: relative;
    z-index: 1;
    padding: 10px 15px
}

.woo-msg-time:after {
    content: '';
    margin: 0;
    display: block;
    height: 1px;
    width: 100%;
    background: #efefef;
    position: absolute;
    top: 50%
}

.woo-name-file-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.woo-name {
    text-transform: capitalize;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 5px 0 0
}

.woo-name span {
    font-size: 18px;
    font-weight: 600
}

.woo-name .woo-time {
    padding: 0 10px;
    font-size: 14px;
    color: #ababab;
    font-style: italic
}

.wss-receiver-msg .woo-name {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end
}

.woo-author-conversation-wrapper {
    position: relative;
    padding: 0 40px
}

.wss-receiver-msg {
    text-align: right
}

.wss-receiver-msg .msg-card {
    margin-left: auto
}

.msg-card {
    width: fit-content;
    margin: 25px 0;
    max-width: 70%;
}

.woo-msg {
    margin: 5px;
    text-align: left;
    line-height: 26px;
    padding: 1rem;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wss-receiver-msg .woo-msg {
    background-color: #10b981;
    color: #fff;

}

.wss-sender-msg .woo-msg {
    background: white;
}

.woo-msg::after {
    bottom: 100%;
    left: 30px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #efefef;
    border-width: 10px;
    margin-left: -10px;
}

.wss-receiver-msg .woo-msg::after {
    left: unset;
    right: 30px;
}

.woo-msg p {
    margin-bottom: 0;
}

.woo-time {
    font-size: 12px;
    color: #ababab
}

.woo-file {
    margin-top: 25px
}

.wss-receiver-msg .woo-file {
    margin-left: auto
}

@media screen and (min-width:544px) {
    .woo-file {
        margin-left: 40px;
    }

    .wss-receiver-msg .woo-file {
        margin-right: 40px;
    }
}

.woo-file ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.woo-file ul li {
    margin: 5px 0;
    list-style: none
}

.woo-file ul li::before,
#file-input-label::before {
    content: "";
    background-image: url(/wp-content/uploads/2023/07/attachment.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 25px;
    height: 25px;
    display: inline-block;
    background-size: 25px;
    vertical-align: middle;
}

.woo-file span {
    font-weight: 600
}

.wss-sell-product {
    background: rgba(230, 238, 255, .5);
    color: #000;
    text-align: center;
    margin: 50px -20px;
    padding: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.wss_final_delivery_wrap label {
    margin: 0 5px
}

.wss_final_delivery_wrap input[type=checkbox],
.wss_final_delivery_wrap input[type=radio] {
    height: 16px;
    width: 16px;
    vertical-align: middle;
    margin-top: -3px;
    margin-right: 3px
}

.wss-sell-product-complete {
    margin: 0 -20px;
    background: #e6f1f8
}

.woo-message-required {
    color: red;
    margin: 20px 0
}

ul.woo-service-status-tabs {
    list-style: none;
    padding: 0 0 0 1em !important;
    margin: 0 0 1.618em !important;
    position: relative
}

ul.woo-service-status-tabs::after {
    clear: both
}

ul.woo-service-status-tabs li {
    display: inline-block;
    position: relative;
}

ul.woo-service-status-tabs li {
    padding: 0.5rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

ul.woo-service-status-tabs li a {
    color: #6b7280;
}

ul.woo-service-status-tabs li.active-tab {
    z-index: 2;
    background: #10b981;
    border-color: #10b981;
}

ul.woo-service-status-tabs li.active-tab a {
    color: white;
}

.woo-service-search-box {
    margin-bottom: 15px
}

.woocommerce-orders-table__header {
    padding: 1rem 1rem !important;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woo-service-search-box input[type=text] {
    width: 100%
}

.woocommerce table.my_account_orders {
    width: 100%;
}

.woocommerce table.my_account_orders td,
.woocommerce table.my_account_orders th {
    padding: 9px 12px
}

.woocommerce table.my_account_orders {
    font-size: inherit
}

.account-orders-table-wrapper {
    overflow-x: auto
}

#account_display_name_description {
    font-size: 13px;
}

button#wss_import_service_template,
button#wss_export_service_template {
    margin: 10px 0
}

button#wss_import_service_template:disabled {
    opacity: .6;
    cursor: not-allowed
}

select#_wss_import_saved_service_data {
    height: 40px
}


/* loading */
#loading {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 5px;
    background-color: #212537;
    color: #212537;
    animation: loading 1s infinite linear alternate;
    animation-delay: .5s;
    display: none;
    margin: 0 40px 0 auto;
}

#loading::before,
#loading::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0
}

#loading::before {
    left: -12px;
    width: 8px;
    height: 8px;
    border-radius: 5px;
    background-color: #212537;
    color: #212537;
    animation: loading 1s infinite alternate;
    animation-delay: 0s
}

#loading::after {
    left: 12px;
    width: 8px;
    height: 8px;
    border-radius: 5px;
    background-color: #212537;
    color: #212537;
    animation: loading 1s infinite alternate;
    animation-delay: 1s
}

@keyframes loading {
    0% {
        background-color: #212537
    }

    50%,
    100% {
        background-color: rgba(152, 128, 255, .2)
    }
}

#msgerror {
    color: #f33;
    font-size: 17px;
    text-align: center;
    display: none;
}

/* Woo Default styles */
.col-1 {
    flex: unset;
    width: unset;
}

.woocommerce-Button,
.woocommerce-address-fields button {
    border: none;
    background: var(--bs-secondary);
    color: #fff;
    padding: 7px 12px;
    border-radius: 4px;
}

.woocommerce form .password-input {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.woocommerce form .show-password-input::after {
    line-height: 1;
    margin-left: .618em;
    content: "👁";
    text-decoration: none;
}

.woocommerce form .password-input input::-ms-reveal {
    display: none
}

.woocommerce form .show-password-input {
    position: absolute;
    right: .7em;
    background: none;
    border: unset;
    margin: 0;
    padding: 0;
    cursor: pointer
}

.woocommerce form .show-password-input.display-password::after {
    color: #585858
}

/* Modal */
.modal {
    --bs-modal-zindex: 1055;
    --bs-modal-padding: 1rem;
    --bs-modal-margin: 0.5rem;
    --bs-modal-color: ;
    --bs-modal-bg: #fff;
    --bs-modal-border-color: var(--bs-border-color-translucent);
    --bs-modal-border-width: 1px;
    --bs-modal-border-radius: 0.5rem;
    --bs-modal-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --bs-modal-inner-border-radius: calc(0.5rem - 1px);
    --bs-modal-header-padding-x: 1rem;
    --bs-modal-header-padding-y: 1rem;
    --bs-modal-header-padding: 1rem 1rem;
    --bs-modal-header-border-color: var(--bs-border-color);
    --bs-modal-header-border-width: 1px;
    --bs-modal-title-line-height: 1.5;
    --bs-modal-footer-gap: 0.5rem;
    --bs-modal-footer-bg: ;
    --bs-modal-footer-border-color: var(--bs-border-color);
    --bs-modal-footer-border-width: 1px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: var(--bs-modal-margin);
    pointer-events: none
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px)
}

@media (prefers-reduced-motion:reduce) {
    .modal.fade .modal-dialog {
        transition: none
    }
}

.modal.show .modal-dialog {
    transform: none
}

.modal.modal-static .modal-dialog {
    transform: scale(1.02)
}

.modal-dialog-scrollable {
    height: calc(100% - var(--bs-modal-margin) * 2)
}

.modal-dialog-scrollable .modal-content {
    max-height: 100%;
    overflow: hidden
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - var(--bs-modal-margin) * 2)
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: var(--bs-modal-bg);
    background-clip: padding-box;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
    border-radius: var(--bs-modal-border-radius);
    outline: 0;
    padding: 15px;
}

.modal-backdrop {
    --bs-backdrop-zindex: 1050;
    --bs-backdrop-bg: #000;
    --bs-backdrop-opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-backdrop-zindex);
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-backdrop-bg)
}

.modal-backdrop.fade {
    opacity: 0
}

.modal-backdrop.show {
    opacity: var(--bs-backdrop-opacity)
}

.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: var(--bs-modal-header-padding);
    border-bottom: 1px solid #e9e9e9;
    border-top-left-radius: var(--bs-modal-inner-border-radius);
    border-top-right-radius: var(--bs-modal-inner-border-radius)
}

.modal-header .btn-close {
    padding: calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);
    margin: calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto
}

.modal-title {
    margin-bottom: 0;
    line-height: var(--bs-modal-title-line-height)
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: var(--bs-modal-padding)
}

.modal-footer {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);
    background-color: var(--bs-modal-footer-bg);
    border-top: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);
    border-bottom-right-radius: var(--bs-modal-inner-border-radius);
    border-bottom-left-radius: var(--bs-modal-inner-border-radius)
}

.modal-footer>* {
    margin: calc(var(--bs-modal-footer-gap) * .5)
}

@media (min-width:576px) {
    .modal {
        --bs-modal-margin: 1.75rem;
        --bs-modal-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15)
    }

    .modal-dialog {
        width: 750px;
        margin-right: auto;
        margin-left: auto;
        max-width: 90%;
    }

    .modal-sm {
        --bs-modal-width: 300px
    }
}

@media (min-width:992px) {

    .modal-lg,
    .modal-xl {
        --bs-modal-width: 800px
    }
}

@media (min-width:1200px) {
    .modal-xl {
        --bs-modal-width: 1140px
    }
}

.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0
}

.modal-fullscreen .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0
}

.modal-fullscreen .modal-header,
.modal-fullscreen .modal-footer {
    border-radius: 0
}

.modal-fullscreen .modal-body {
    overflow-y: auto
}

@media (max-width:575.98px) {
    .modal-fullscreen-sm-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen-sm-down .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0
    }

    .modal-fullscreen-sm-down .modal-header,
    .modal-fullscreen-sm-down .modal-footer {
        border-radius: 0
    }

    .modal-fullscreen-sm-down .modal-body {
        overflow-y: auto
    }
}

@media (max-width:767.98px) {
    .modal-fullscreen-md-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen-md-down .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0
    }

    .modal-fullscreen-md-down .modal-header,
    .modal-fullscreen-md-down .modal-footer {
        border-radius: 0
    }

    .modal-fullscreen-md-down .modal-body {
        overflow-y: auto
    }
}

@media (max-width:991.98px) {
    .modal-fullscreen-lg-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen-lg-down .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0
    }

    .modal-fullscreen-lg-down .modal-header,
    .modal-fullscreen-lg-down .modal-footer {
        border-radius: 0
    }

    .modal-fullscreen-lg-down .modal-body {
        overflow-y: auto
    }
}

@media (max-width:1199.98px) {
    .modal-fullscreen-xl-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen-xl-down .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0
    }

    .modal-fullscreen-xl-down .modal-header,
    .modal-fullscreen-xl-down .modal-footer {
        border-radius: 0
    }

    .modal-fullscreen-xl-down .modal-body {
        overflow-y: auto
    }
}

@media (max-width:1399.98px) {
    .modal-fullscreen-xxl-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen-xxl-down .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0
    }

    .modal-fullscreen-xxl-down .modal-header,
    .modal-fullscreen-xxl-down .modal-footer {
        border-radius: 0
    }

    .modal-fullscreen-xxl-down .modal-body {
        overflow-y: auto
    }
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5
}

.btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: 0.75
}

.btn-close:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(25, 96, 148, 0.25);
    opacity: 1
}

.btn-close:disabled,
.btn-close.disabled {
    pointer-events: none;
    user-select: none;
    opacity: 0.25
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%)
}