.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.confirm-modal-content {
    position: relative;
    background: #fff;
    padding: 30px 25px;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease-in-out;
}
.confirm-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: #474747;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}
.confirm-modal-close:hover {
    background: #f0f0f0;
    color: #333;
    cursor: pointer;
}
.confirm-modal-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
}
.confirm-modal-message {
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}
.confirm-modal-actions {
    text-align: center;
}
.confirm-modal-actions .btn {
    padding: 10px 18px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
}
.confirm-modal-actions .btn-success {
    background-color: #28a745 !important;
    color: white !important;
}
.confirm-modal-actions .btn-success:hover {
    background-color: #218838 !important;
}
.confirm-modal-actions .btn-danger {
    background-color: #dc3545 !important;
    color: white !important;
}
.confirm-modal-actions .btn-danger:hover {
    background-color: #c82333 !important;
}
.confirm-modal-actions .btn-warning {
    background-color: #ffbf00 !important;
    color: white !important;
}
.confirm-modal-actions .btn-warning:hover {
    background-color: #d19e00 !important;
}
.confirm-modal-actions .btn-primary {
    background-color: #0264cc !important;
    color: white !important;
}
.confirm-modal-actions .btn-primary:hover {
    background-color: #0056b3 !important;
}
.confirm-modal-actions .btn-secondary {
    background-color: #6c757d !important;
    color: white !important;
}
.confirm-modal-actions .btn-secondary:hover {
    background-color: #5a6268 !important;
}
.confirm-modal-table {
    margin: 0 auto 20px auto;
    border-collapse: collapse;
}
.confirm-modal-table td {
    padding: 6px 14px;
    font-size: 1em;
    text-align: left;
}
.confirm-modal-table td:first-child {
    font-weight: bold;
    color: #555;
    text-align: right;
    white-space: nowrap;
}
.confirm-modal-footer {
    font-size: 0.9em;
    color: #888;
}

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