        /* ===== Overlay ===== */
        .tc-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.65);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        /* ===== Modal ===== */
        .tc-modal {
            background: #fff;
            width: 90%;
            max-width: 720px;
            border-radius: 10px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.25);
            display: flex;
            flex-direction: column;
            max-height: 85vh;
            animation: fadeUp 0.3s ease-out;
        }

        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* ===== Header ===== */
        .tc-header {
            padding: 20px 24px;
            border-bottom: 1px solid #eee;
        }

        .tc-header h2 {
            margin: 0;
            font-size: 24px;
            font-weight: 600;
        }

        .tc-header small {
            color: #777;
        }

        /* ===== Content ===== */
        .tc-content {
            padding: 20px 24px;
            overflow-y: auto;
            line-height: 1.6;
            color: #333;
        }

        .tc-content h3 {
            margin-top: 24px;
            font-size: 18px;
        }

        /* ===== Footer ===== */
        .tc-footer {
            padding: 16px 24px;
            border-top: 1px solid #eee;
            display: flex;
            justify-content: flex-end;
            gap: 12px;
        }

        .btn {
            padding: 10px 18px;
            border-radius: 6px;
            font-size: 14px;
            cursor: pointer;
            border: none;
        }

        .btn-outline {
            background: #fff;
            border: 1px solid #ccc;
            color: #555;
        }

        .btn-primary {
            background: #e53935;
            color: #fff;
        }

        .btn-primary:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* ===== Mobile ===== */
        @media (max-width: 600px) {
            .tc-modal {
                width: 95%;
            }
        }

    

        .modal-overlay {
    display: none; /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);

    /* center modal */
    display: flex;
    align-items: center;
    justify-content: center;

    
}

/* Modal box */
.modal {
    background: #fff;
    padding: 20px 25px;
    width: 300px;
    border-radius: 8px;
    text-align: center;

        
            
}

/* Buttons */
.modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

.yes-btn {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
}

.no-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
}

.yes-btn:hover,
.no-btn:hover {
    opacity: 0.9;
}