﻿/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.45);
    backdrop-filter: saturate(130%) blur(2px);
    z-index: 1000;
}

.modal-card {
    position: fixed;
    top: 0vh;
    left: 50%;
    transform: translateX(-50%);
    width: min(640px, calc(100vw - 2rem));
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0,0,0,.15);
    z-index: 1001;
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1rem;
    border-bottom: 1px solid #eef2f4;
    height:1.5rem;
}

.modal-body {
    padding: 1rem;
}

.modal-foot {
    padding: .75rem 1rem;
    border-top: 1px solid #eef2f4;
    text-align: right;
}

.modal-x {
    appearance: none;
    border: 0;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}
