
.main-action-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.main-action-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Nakładka na całą stronę dla modala */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none; /* Domyślnie ukryty */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Styl dla widocznego modala */
.modal-overlay.visible {
    display: flex;
    opacity: 1;
}

/* Okno z treścią */
.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 450px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

.modal-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

/* Kontener na przyciski */
.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px; /* Odstęp między przyciskami */
}

/* Ogólne style dla przycisków w modalu */
.modal-buttons .btn {
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.modal-buttons .btn:active {
    transform: scale(0.95);
}

.btn-confirm {
    background-color: #28a745;
    color: white;
}
.btn-confirm:hover {
    background-color: #218838;
}

.btn-cancel {
    background-color: #6c757d;
    color: white;
}
.btn-cancel:hover {
    background-color: #5a6268;
}