/* ── Cancellation Confirmation Modal ────────────────────────── */

#ep-cancel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: ep-fade-in 0.2s ease;
}

#ep-cancel-overlay.ep-fade-out {
    animation: ep-fade-out 0.2s ease forwards;
}

#ep-cancel-modal {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: ep-slide-up 0.25s ease;
}

.ep-modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

#ep-cancel-modal h2 {
    color: #1a2332;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

#ep-cancel-modal p {
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.ep-modal-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem !important;
    color: #856404 !important;
    text-align: left;
    margin: 1rem 0 1.5rem !important;
}

.ep-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ep-modal-btn {
    display: block;
    width: 100%;
    padding: 0.9rem 0rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    border: none;
    transition: all 0.2s;
    line-height: 1.4;
}

.ep-modal-btn-keep {
    background: #00d4a1;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 212, 161, 0.3);
}

.ep-modal-btn-keep:hover {
    background: #00b88d;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 212, 161, 0.4);
}

.ep-modal-btn-cancel {
    background: transparent;
    border: 2px solid #dc3545;
    color: #dc3545 !important;
}

.ep-modal-btn-cancel:hover {
    background: #dc3545;
    color: #fff !important;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes ep-fade-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes ep-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes ep-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 480px) {
    #ep-cancel-modal { padding: 2rem 1.25rem; }
    #ep-cancel-modal h2 { font-size: 1.3rem; }
}