﻿.modal-backdrop {
    position: fixed;
    inset: 0; /* top: 0; right: 0; bottom: 0; left: 0; */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    max-width: 100%;
}

.modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: 100%;
    padding: 1rem;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.01);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    max-width: 100%;
}

.modal-mobile {
    position: relative;
    background-color: white;
    padding: 0.5rem; /* 2 = 0.5rem */
    overflow-y: auto;
    width: 100%;
    height: 100%;
}

.modal-desktop {
    position: relative;
    background-color: white;
    border-radius: 0.75rem; /* xl */
    padding: 1.5rem; /* 6 = 1.5rem */
    overflow-y: auto;
    max-width: 95vw;
    max-height: 95vh;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.25rem 0; /* py-1 = 0.25rem top/bottom, px-0 = 0 left/right */
}

.modal-header-left {
    display: flex;
    align-items: center;
}

.modal-title {
    font-size: 1.25rem; /* Tailwind text-lg = 18px */
    font-weight: 600; /* medium */
    overflow-wrap: anywhere;
}

@media (min-width: 768px) {
    .modal-title {
        font-size: 1.25rem; /* md:text-xl = 20px */
    }
}

.modal-close-button {
    font-size: 1.5rem; /* text-2xl */
    line-height: 1rem; /* leading-4 */
    margin-left: 1rem; /* ml-4 */
    padding: 0.5rem; /* p-2 */
    background-color: black;
    color: white;
    border-radius: 9999px; /* full */
    width: 2rem; /* w-8 = 32px */
    height: 2rem; /* h-8 = 32px */
    margin: 0;
}


