/* Delete Event Modal Styles – glass (matches dashboard) */

#deleteModal.modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

#deleteModal.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

#deleteModal .modal-content {
    margin: auto;
    padding: 0;
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

/* modalSlideIn animation provided by styles.css */

#deleteModal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#deleteModal .modal-header h2 {
    font-family: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

#deleteModal .close-modal-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

#deleteModal .close-modal-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

#deleteModal .close-modal-btn img {
    filter: brightness(0) invert(1);
}

#deleteModal .modal-body {
    padding: 24px;
    font-family: var(--font-secondary, 'Inter', sans-serif);
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

#deleteModal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

#deleteModal .modal-footer .btn-icon:not(.btn-delete) {
    background: rgba(255, 255, 255, 0.95);
    color: #1D1B20;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#deleteModal .modal-footer .btn-icon:not(.btn-delete):hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#deleteModal .modal-footer .btn-icon:not(.btn-delete) img {
    filter: brightness(0);
}

#deleteModal .modal-footer .btn-delete {
    background: rgba(211, 47, 47, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

#deleteModal .modal-footer .btn-delete:hover {
    background: #b3261e;
}

@media (max-width: 768px) {
    #deleteModal .modal-content {
        width: 95%;
        max-width: none;
    }
    
    #deleteModal .modal-header h2 {
        font-size: 20px;
    }
    
    #deleteModal .modal-body {
        font-size: 14px;
        padding: 20px;
    }
    
    #deleteModal .modal-footer {
        padding: 16px 20px 20px 20px;
    }
}
