.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 9999;
}

.modal-container {
    background: white;
    transform: translateY(-3rem);
    transition: transform 0.3s ease-in-out;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-container-center {
    border-radius: 8px;
    min-width: 500px;
    width: fit-content;

    .modal-body {
        padding: 1rem;
    }
}

.modal-container-fullscreen {
    width: 100%;
    height: 100%;

    .modal-body {
        height: 100%;
    }
}

.modal-header {
    padding: 1rem;
    font-size: 1.25rem;
    color: #333;
    border-bottom: 1px solid #eee;

    h3 {
        margin: 0 2rem 0 0;
        font-size: 1.25rem;
        color: #333;
    }

    .modal-close {
        position: absolute;
        top: 0.5rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        line-height: 1;
    }
}

.modal-body {
    min-height: 50px;

    .form-group {
        margin-bottom: 1rem;

        input {
            padding: 0.375rem 0.75rem;
            font-size: 1rem;
            min-width: 400px;
            background-color: #fff;
            border: 1px solid #ced4da;
            border-radius: 0.25rem;
        }
    }
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid #eee;
}

.modal-button {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    color: gray;
    font-size: 1rem;

}

.modal-button-primary {
    background-color: #007bff;
    color: white;
}

.modal-button-secondary {
    background-color: #6c757d;
    color: white;
}

@media (max-width: 768px) {
    .modal-container {
        min-width: unset;
        width: 90%;
        padding: 1.5rem;
    }
}