.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-background-container {
    position: absolute;
    overflow: hidden,
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-inner-container {
    display: flex;
    align-items: center;
    position: relative;
    display: flex;
    min-height: 500px;
    width: 800px;
    justify-content: center;
    overflow: hidden;
}

.modal-content {
    background: white;
    padding: 20px;
    max-width: 800px;
    border-radius: 20px;
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.modal-body {
    width: 80%;
}

.modal-swab-action {
    position: absolute;
    bottom: 20px;
    right: 30px;
    width: 50px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
