.modal-container {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    justify-content: center;
    align-items: center;
}

.modal-container[style*="block"] {
    display: flex !important;
}

.modal-content {
    background: #fff;
    padding: 2em 2.5em;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    min-width: 320px;
    max-width: 90vw;
    position: relative;
    margin: 0 auto;
    animation: animatetop 0.4s;
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.modal-close-btn {
    color: #aaa;
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 2em;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
    z-index: 10;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
    color: #555;
    text-decoration: none;
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.75rem;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.modal-breadcrumb {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.5rem;
}

.modal-text p {
    line-height: 1.6;
    color: #444;
}

.modal-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: #222;
}

.modal-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.modal-action-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: 
#f0f0f0;
    color: #333;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.modal-action-button:hover {
    background-color: 
#e0e0e0;
    border-color: #aaa;
}

