/* Estilos del modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-table {
    width: 100%;
    background-color: #f5f5f5;
}

.modal-table td {
    padding: 8px;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding-top: 20px;
    color: #333;
}

.modal-message {
    text-align: center;
    padding: 20px;
    color: #666;
}

.modal-message h3 {
    font-size: 16px;
    line-height: 1.5;
}

.modal-label {
    padding-left: 20px;
    font-weight: bold;
    color: #333;
    width: 40%;
}

.modal-value {
    padding-right: 20px;
    color: #666;
}

.modal-buttons {
    text-align: center;
    padding: 20px;
}

.modal-btn {
    padding: 12px 24px;
    margin: 0 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #4682B4;
    color: white;
}

.btn-primary:hover {
    background-color: #3a6d96;
}

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

.btn-secondary:hover {
    background-color: #5a6268;
}

@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 20px;
    }

    .modal-btn {
        width: 100%;
        margin: 10px 0;
    }
}