@charset "UTF-8";

.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--slate-100-rgb), .7);
    z-index: 9990;
    transition: all 0.2s ease-in-out;
}
.modal-backdrop.is-open,
.modal.is-open {
    display: flex;
}
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
	width: 100%;
	height: 100%;
	padding: 12px;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 9991;
    overflow: hidden;
    outline: 0;
    transition: all 0.2s ease-in-out;
}
.modal .modal-content {
    display: flex;
    flex-direction: column;
    outline: none;
    overflow: hidden;
    max-width: calc(100vw - 120px);
	max-height: calc(100vh - 80px);
    border: 1px solid var(--slate-400);
    border-radius: var(--l-radius);
    box-shadow: var(--p-shadow);
}
.modal .modal-content .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid var(--slate-300);
    background-color: var(--slate-100);
}
.modal .modal-content .header .icon::before {
    font-size: var(--i-small);
    transition: all 0.2s ease;
}
.modal .modal-content .header .icon:hover::before {
    color: var(--slate-500);
}
.modal .modal-content .body {
    position: relative;
    display: flex;
    flex-direction: column;
	height: 100%;
    max-height: calc(100vh - 120px);
    color: var(--slate-700);
    background-color: var(--white);
    overflow: hidden;
}
.modal .modal-content .body .contents-wrap {
	position: relative;
    display: flex;
    flex-direction: column;
    overflow: auto;
	gap: 12px;
    padding: 12px;
    width: 100%;
    height: 100%;
    flex: 1;
}
.modal .modal-content .body .search-form {
    box-shadow: none;
    flex-grow: 0;
	border-radius: var(--c-radius);
    border: 1px solid var(--slate-400);
}
/*
.modal .modal-content .body .search-form,
.modal .modal-content .body .contents-wrap,
.modal .modal-content .body .table-wrap {
    border-color: var(--slate-400);
    box-shadow: none;
    flex-grow: 0;
    border-radius: var(--c-radius);
}
*/
.modal .modal-content .body .page-list {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	padding: 0;
    border: none;
	box-shadow: none;
}
.modal .modal-content .body .table-foot.popup-is-layer {
    position: sticky;
    bottom: 0;
    width: 100%;
    padding: 8px 0;
    border-radius: 0 0 var(--l-radius) var(--l-radius);
    border-top: 1px solid var(--slate-400);
    background-color: var(--slate-100);
    box-shadow: var(--p-shadow);
	z-index: 2;
}