/* Page Modal Css  */

.modal_container {
    display: none;
    /* default hidden /
  position: fixed;
  inset: 0;
  / top:0; right:0; bottom:0; left:0 */
    justify-content: center;
    align-items: center;
    z-index: 50;
}

.modal_container.active {
    display: flex;
}

.modal_backdrop {
    position: fixed;
    height: 100%;
    z-index: 10;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><g transform='rotate(45 16 16)'><circle cx='16' cy='16' r='1.5' fill='white' stroke='black' stroke-width='0.5'/><line x1='16' y1='0' x2='16' y2='32' stroke='white' stroke-width='2' stroke-linecap='round'/><line x1='0' y1='16' x2='32' y2='16' stroke='white' stroke-width='2' stroke-linecap='round'/><line x1='16' y1='0' x2='16' y2='32' stroke='white' stroke-width='0.5' stroke-linecap='round'/><line x1='0' y1='16' x2='32' y2='16' stroke='white' stroke-width='0.5' stroke-linecap='round'/></g></svg>")
            16 16,
        crosshair;
    backdrop-filter: blur(7px);
    display: none;
}

.modal_content {
    position: relative;
    border-radius: 12px;
    width: auto;
    max-width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.modal_container.active .modal_content {
    opacity: 1;
    transform: scale(1);
}

.modal_content form {
    height: max-content;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none;
    scrollbar-color: var(--primary-shade-2-200) transparent;
}
.modal_container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
