﻿.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 4;
    transition: all 0.5s ease;
}

.custom-modal-absolute {
    position: fixed;
    z-index: 4;
    transition: all 0.5s ease;
}

#specificationOrderConfirm {
    padding: 20px;
    border-radius: 12px;
    max-width: 90%;
    left: 50%;
    transform: translateX(-50%);
}

html:has(#layoutFooter.footer-hidden) #specificationOrderConfirm {
    bottom: 70px;
}

html:not(:has(#layoutFooter.footer-hidden)) #specificationOrderConfirm {
    bottom: 100px;
}

div[id="customConfirm"] {
    z-index: 5 !important;
}

.custom-modal-content {
    padding: 20px;
    border-radius: 12px;
    max-width: 90%;
    text-align: center;
    transition: all 0.3s ease
}

.inner-custom-modal-content {
    min-width: 400px;
}

html[data-bs-theme="light"] .custom-modal-content, html[data-bs-theme="light"] #specificationOrderConfirm {
    background: #dfdfdf
}

html[data-bs-theme="dark"] .custom-modal-content, html[data-bs-theme="dark"] #specificationOrderConfirm {
    background: #2a2f34;
}

.dropdown-menu {
    min-width: 1px;
}

#idsErrors{
    position:fixed;
    max-width: 35%;
    max-height: 400px;
    right: 0px;
    z-index: 3;
    border-end-start-radius: 12px;
}

#idsErrors .alert {
    overflow-x:auto;
    max-height: 384px;
    line-break: anywhere;
}

html[data-bs-theme="light"] #idsErrors {
    background: #e6e6e6;
}

html[data-bs-theme="dark"] #idsErrors {
    background: #121416;
}

#bsddAdvancedSearchOptions > div:first-child {
    border-radius: 12px;
    border: 1px solid;
}

html[data-bs-theme="light"] #bsddAdvancedSearchOptions > div:first-child {
    background: #dfdfdf;
    border-color: #afb0b1;
}

html[data-bs-theme="dark"] #bsddAdvancedSearchOptions > div:first-child {
    background: #2a2f34;
    border-color: #495057;
}